Struct: s3.GetObjectRetentionOutput

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

Retention *ObjectLockRetention `type:"structure"`

The container element for an object's retention settings.

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

Method Details

func (s GetObjectRetentionOutput) 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”.



14085
14086
14087
// File 'service/s3/api.go', line 14085

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

func (s *GetObjectRetentionOutput) SetRetention(v *ObjectLockRetention) *GetObjectRetentionOutput

SetRetention sets the Retention field's value.



14090
14091
14092
14093
// File 'service/s3/api.go', line 14090

func (s GetObjectRetentionOutput) 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”.



14076
14077
14078
// File 'service/s3/api.go', line 14076

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