Struct: s3.PutBucketVersioningInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
The bucket name.
-
ExpectedBucketOwner *string
Ignored by COS.
-
MFA *string
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
-
VersioningConfiguration *VersioningConfiguration
Container for setting the versioning state.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *PutBucketVersioningInput
operation
SetBucket sets the Bucket field's value.
-
SetExpectedBucketOwner(string) *PutBucketVersioningInput
operation
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
-
SetMFA(string) *PutBucketVersioningInput
operation
SetMFA sets the MFA field's value.
-
SetVersioningConfiguration(*VersioningConfiguration) *PutBucketVersioningInput
operation
SetVersioningConfiguration sets the VersioningConfiguration field's value.
-
String() string
operation
String returns the string representation.
-
Validate() error
operation
Validate inspects the fields of the type to determine if they are valid.
Structure Field Details
Bucket *string
`location:"uri" locationName:"Bucket" type:"string" required:"true"`
The bucket name.
Bucket is a required field
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
MFA *string
`location:"header" locationName:"x-amz-mfa" type:"string"`
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
VersioningConfiguration *VersioningConfiguration
`locationName:"VersioningConfiguration" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
Container for setting the versioning state.
VersioningConfiguration is a required field
_ struct{}
`locationName:"PutBucketVersioningRequest" type:"structure" payload:"VersioningConfiguration"`
Method Details
func (s PutBucketVersioningInput) 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”.
19524 19525 19526 |
// File 'service/s3/api.go', line 19524
|
func (s *PutBucketVersioningInput) SetBucket(v string) *PutBucketVersioningInput
SetBucket sets the Bucket field's value.
19548 19549 19550 19551 |
// File 'service/s3/api.go', line 19548
|
func (s *PutBucketVersioningInput) SetExpectedBucketOwner(v string) *PutBucketVersioningInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
19561 19562 19563 19564 |
// File 'service/s3/api.go', line 19561
|
func (s *PutBucketVersioningInput) SetMFA(v string) *PutBucketVersioningInput
SetMFA sets the MFA field's value.
19567 19568 19569 19570 |
// File 'service/s3/api.go', line 19567
|
func (s *PutBucketVersioningInput) SetVersioningConfiguration(v *VersioningConfiguration) *PutBucketVersioningInput
SetVersioningConfiguration sets the VersioningConfiguration field's value.
19573 19574 19575 19576 |
// File 'service/s3/api.go', line 19573
|
func (s PutBucketVersioningInput) 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”.
19515 19516 19517 |
// File 'service/s3/api.go', line 19515
|
func (s *PutBucketVersioningInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 |
// File 'service/s3/api.go', line 19529
|