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



12680
12681
12682
// File 'service/s3/api.go', line 12680

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

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

SetIbmProtectionManagementState sets the IbmProtectionManagementState field’s value.



12685
12686
12687
12688
// File 'service/s3/api.go', line 12685

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.



12691
12692
12693
12694
// File 'service/s3/api.go', line 12691

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



12671
12672
12673
// File 'service/s3/api.go', line 12671

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