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”.
12819 12820 12821 |
// File 'service/s3/api.go', line 12819
|
func (s *GetBucketVersioningInput) SetBucket(v string) *GetBucketVersioningInput
SetBucket sets the Bucket field’s value.
12840 12841 12842 12843 |
// File 'service/s3/api.go', line 12840
|
func (s *GetBucketVersioningInput) SetExpectedBucketOwner(v string) *GetBucketVersioningInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field’s value.
12853 12854 12855 12856 |
// File 'service/s3/api.go', line 12853
|
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”.
12810 12811 12812 |
// File 'service/s3/api.go', line 12810
|
func (s *GetBucketVersioningInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 |
// File 'service/s3/api.go', line 12824
|