Struct: s3.VersioningConfiguration
Overview
Describes the versioning state of an Amazon S3 bucket. For more information, see PUT Bucket versioning (docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html) in the Amazon Simple Storage Service API Reference.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
MFADelete *string
Specifies whether MFA delete is enabled in the bucket versioning configuration.
-
Status *string
The versioning state of the bucket.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetMFADelete(string) *VersioningConfiguration
operation
SetMFADelete sets the MFADelete field's value.
-
SetStatus(string) *VersioningConfiguration
operation
SetStatus sets the Status field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
MFADelete *string
`locationName:"MfaDelete" type:"string" enum:"MFADelete"`
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 VersioningConfiguration) 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”.
23039 23040 23041 |
// File 'service/s3/api.go', line 23039
|
func (s *VersioningConfiguration) SetMFADelete(v string) *VersioningConfiguration
SetMFADelete sets the MFADelete field's value.
23044 23045 23046 23047 |
// File 'service/s3/api.go', line 23044
|
func (s *VersioningConfiguration) SetStatus(v string) *VersioningConfiguration
SetStatus sets the Status field's value.
23050 23051 23052 23053 |
// File 'service/s3/api.go', line 23050
|
func (s VersioningConfiguration) 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”.
23030 23031 23032 |
// File 'service/s3/api.go', line 23030
|