Struct: s3.PutBucketLoggingInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
The name of the bucket for which to set the logging parameters.
-
BucketLoggingStatus *BucketLoggingStatus
Container for logging status information.
-
ExpectedBucketOwner *string
Ignored by COS.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *PutBucketLoggingInput
operation
SetBucket sets the Bucket field's value.
-
SetBucketLoggingStatus(*BucketLoggingStatus) *PutBucketLoggingInput
operation
SetBucketLoggingStatus sets the BucketLoggingStatus field's value.
-
SetExpectedBucketOwner(string) *PutBucketLoggingInput
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 set the logging parameters.
Bucket is a required field
BucketLoggingStatus *BucketLoggingStatus
`locationName:"BucketLoggingStatus" type:"structure" required:"true" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
Container for logging status information.
BucketLoggingStatus is a required field
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
_ struct{}
`locationName:"PutBucketLoggingRequest" type:"structure" payload:"BucketLoggingStatus"`
Method Details
func (s PutBucketLoggingInput) 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”.
19214 19215 19216 |
// File 'service/s3/api.go', line 19214
|
func (s *PutBucketLoggingInput) SetBucket(v string) *PutBucketLoggingInput
SetBucket sets the Bucket field's value.
19243 19244 19245 19246 |
// File 'service/s3/api.go', line 19243
|
func (s *PutBucketLoggingInput) SetBucketLoggingStatus(v *BucketLoggingStatus) *PutBucketLoggingInput
SetBucketLoggingStatus sets the BucketLoggingStatus field's value.
19256 19257 19258 19259 |
// File 'service/s3/api.go', line 19256
|
func (s *PutBucketLoggingInput) SetExpectedBucketOwner(v string) *PutBucketLoggingInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
19262 19263 19264 19265 |
// File 'service/s3/api.go', line 19262
|
func (s PutBucketLoggingInput) 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”.
19205 19206 19207 |
// File 'service/s3/api.go', line 19205
|
func (s *PutBucketLoggingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 |
// File 'service/s3/api.go', line 19219
|