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



14827
14828
14829
// File 'service/s3/api.go', line 14827

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

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

SetIBMSSEKPCrkId sets the IBMSSEKPCrkId field’s value.



14832
14833
14834
14835
// File 'service/s3/api.go', line 14832

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.



14838
14839
14840
14841
// File 'service/s3/api.go', line 14838

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



14818
14819
14820
// File 'service/s3/api.go', line 14818

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