Struct: s3.GetBucketVersioningInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
The name of the bucket for which to get the versioning information.
-
ExpectedBucketOwner *string
Ignored by COS.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *GetBucketVersioningInput
operation
SetBucket sets the Bucket field's value.
-
SetExpectedBucketOwner(string) *GetBucketVersioningInput
operation
SetExpectedBucketOwner sets the ExpectedBucketOwner 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 name of the bucket for which to get the versioning information.
Bucket is a required field
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
_ struct{}
`locationName:"GetBucketVersioningRequest" type:"structure"`
Method Details
func (s GetBucketVersioningInput) 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”.
12668 12669 12670 |
// File 'service/s3/api.go', line 12668
|
func (s *GetBucketVersioningInput) SetBucket(v string) *GetBucketVersioningInput
SetBucket sets the Bucket field's value.
12689 12690 12691 12692 |
// File 'service/s3/api.go', line 12689
|
func (s *GetBucketVersioningInput) SetExpectedBucketOwner(v string) *GetBucketVersioningInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
12702 12703 12704 12705 |
// File 'service/s3/api.go', line 12702
|
func (s GetBucketVersioningInput) 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”.
12659 12660 12661 |
// File 'service/s3/api.go', line 12659
|
func (s *GetBucketVersioningInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 |
// File 'service/s3/api.go', line 12673
|