Struct: s3.GetObjectLockConfigurationOutput

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

IbmProtectionManagementState *string `location:"header" locationName:"x-ibm-protection-management-state" type:"string" enum:"IbmProtectionManagementState"`

ObjectLockConfiguration *ObjectLockConfiguration `type:"structure"`

The specified bucket's Object Lock configuration.

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

Method Details

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



13556
13557
13558
// File 'service/s3/api.go', line 13556

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

func (s *GetObjectLockConfigurationOutput) SetIbmProtectionManagementState(v string) *GetObjectLockConfigurationOutput

SetIbmProtectionManagementState sets the IbmProtectionManagementState field's value.



13561
13562
13563
13564
// File 'service/s3/api.go', line 13561

func (s *GetObjectLockConfigurationOutput) SetIbmProtectionManagementState(v string) *GetObjectLockConfigurationOutput { s.IbmProtectionManagementState = &v return s }

func (s *GetObjectLockConfigurationOutput) SetObjectLockConfiguration(v *ObjectLockConfiguration) *GetObjectLockConfigurationOutput

SetObjectLockConfiguration sets the ObjectLockConfiguration field's value.



13567
13568
13569
13570
// File 'service/s3/api.go', line 13567

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



13547
13548
13549
// File 'service/s3/api.go', line 13547

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