Struct: s3.HeadBucketOutput

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

IBMSSEKPCrkId *string `location:"header" locationName:"ibm-sse-kp-customer-root-key-crn" type:"string"`

The root key used by Key Protect to encrypt this bucket. This value must be the full CRN of the root key.

IBMSSEKPEnabled *bool `location:"header" locationName:"ibm-sse-kp-enabled" type:"boolean"`

Specifies whether the Bucket has Key Protect enabled.

_ struct{} `type:"structure"`

Method Details

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



14676
14677
14678
// File 'service/s3/api.go', line 14676

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

func (s *HeadBucketOutput) SetIBMSSEKPCrkId(v string) *HeadBucketOutput

SetIBMSSEKPCrkId sets the IBMSSEKPCrkId field's value.



14681
14682
14683
14684
// File 'service/s3/api.go', line 14681

func (s *HeadBucketOutput) SetIBMSSEKPCrkId(v string) *HeadBucketOutput { s.IBMSSEKPCrkId = &v return s }

func (s *HeadBucketOutput) SetIBMSSEKPEnabled(v bool) *HeadBucketOutput

SetIBMSSEKPEnabled sets the IBMSSEKPEnabled field's value.



14687
14688
14689
14690
// File 'service/s3/api.go', line 14687

func (s *HeadBucketOutput) SetIBMSSEKPEnabled(v bool) *HeadBucketOutput { s.IBMSSEKPEnabled = &v return s }

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



14667
14668
14669
// File 'service/s3/api.go', line 14667

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