Struct: s3.GetBucketProtectionConfigurationOutput

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"`

ProtectionConfiguration *ProtectionConfiguration `type:"structure"`

Bucket protection configuration

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

Method Details

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



12529
12530
12531
// File 'service/s3/api.go', line 12529

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

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

SetIbmProtectionManagementState sets the IbmProtectionManagementState field's value.



12534
12535
12536
12537
// File 'service/s3/api.go', line 12534

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

func (s *GetBucketProtectionConfigurationOutput) SetProtectionConfiguration(v *ProtectionConfiguration) *GetBucketProtectionConfigurationOutput

SetProtectionConfiguration sets the ProtectionConfiguration field's value.



12540
12541
12542
12543
// File 'service/s3/api.go', line 12540

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



12520
12521
12522
// File 'service/s3/api.go', line 12520

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