Struct: s3.GetObjectLegalHoldOutput

import "../ibm-cos-sdk-go/service/s3"

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

LegalHold *ObjectLockLegalHold `type:"structure"`

The current Legal Hold status for the specified object.

_ struct{} `type:"structure" payload:"LegalHold"`

Method Details

func (s GetObjectLegalHoldOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



13451
13452
13453
// File 'service/s3/api.go', line 13451

func (s GetObjectLegalHoldOutput) GoString() string { return s.String() }

func (s *GetObjectLegalHoldOutput) SetLegalHold(v *ObjectLockLegalHold) *GetObjectLegalHoldOutput

SetLegalHold sets the LegalHold field's value.



13456
13457
13458
13459
// File 'service/s3/api.go', line 13456

func (s GetObjectLegalHoldOutput) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



13442
13443
13444
// File 'service/s3/api.go', line 13442

func (s GetObjectLegalHoldOutput) String() string { return awsutil.Prettify(s) }