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”.



13602
13603
13604
// File 'service/s3/api.go', line 13602

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

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

SetLegalHold sets the LegalHold field’s value.



13607
13608
13609
13610
// File 'service/s3/api.go', line 13607

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”.



13593
13594
13595
// File 'service/s3/api.go', line 13593

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