Struct: s3.GetBucketVersioningOutput

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

MFADelete *string `locationName:"MfaDelete" type:"string" enum:"MFADeleteStatus"`

Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.

Status *string `type:"string" enum:"BucketVersioningStatus"`

The versioning state of the bucket.

_ struct{} `type:"structure"`

Method Details

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



12884
12885
12886
// File 'service/s3/api.go', line 12884

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

func (s *GetBucketVersioningOutput) SetMFADelete(v string) *GetBucketVersioningOutput

SetMFADelete sets the MFADelete field’s value.



12889
12890
12891
12892
// File 'service/s3/api.go', line 12889

func (s *GetBucketVersioningOutput) SetMFADelete(v string) *GetBucketVersioningOutput { s.MFADelete = &v return s }

func (s *GetBucketVersioningOutput) SetStatus(v string) *GetBucketVersioningOutput

SetStatus sets the Status field’s value.



12895
12896
12897
12898
// File 'service/s3/api.go', line 12895

func (s *GetBucketVersioningOutput) SetStatus(v string) *GetBucketVersioningOutput { s.Status = &v return s }

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



12875
12876
12877
// File 'service/s3/api.go', line 12875

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