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



14236
14237
14238
// File 'service/s3/api.go', line 14236

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

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

SetRetention sets the Retention field’s value.



14241
14242
14243
14244
// File 'service/s3/api.go', line 14241

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



14227
14228
14229
// File 'service/s3/api.go', line 14227

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