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



12733
12734
12735
// File 'service/s3/api.go', line 12733

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

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

SetMFADelete sets the MFADelete field's value.



12738
12739
12740
12741
// File 'service/s3/api.go', line 12738

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.



12744
12745
12746
12747
// File 'service/s3/api.go', line 12744

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



12724
12725
12726
// File 'service/s3/api.go', line 12724

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