Struct: s3.PutBucketLifecycleConfigurationInput
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 configuration.
-
ExpectedBucketOwner *string
Ignored by COS.
-
LifecycleConfiguration *LifecycleConfiguration
Container for lifecycle rules.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *PutBucketLifecycleConfigurationInput
operation
SetBucket sets the Bucket field’s value.
-
SetExpectedBucketOwner(string) *PutBucketLifecycleConfigurationInput
operation
SetExpectedBucketOwner sets the ExpectedBucketOwner field’s value.
-
SetLifecycleConfiguration(*LifecycleConfiguration) *PutBucketLifecycleConfigurationInput
operation
SetLifecycleConfiguration sets the LifecycleConfiguration 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 configuration.
Bucket is a required field
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
LifecycleConfiguration *LifecycleConfiguration
`locationName:"LifecycleConfiguration" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
Container for lifecycle rules. You can add as many as 1000 rules.
For more information see, Managing your storage lifecycle (docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html) in the Amazon S3 User Guide.
_ struct{}
`locationName:"PutBucketLifecycleConfigurationRequest" type:"structure" payload:"LifecycleConfiguration"`
Method Details
func (s PutBucketLifecycleConfigurationInput) 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”.
19563 19564 19565 |
// File 'service/s3/api.go', line 19563
|
func (s *PutBucketLifecycleConfigurationInput) SetBucket(v string) *PutBucketLifecycleConfigurationInput
SetBucket sets the Bucket field’s value.
19589 19590 19591 19592 |
// File 'service/s3/api.go', line 19589
|
func (s *PutBucketLifecycleConfigurationInput) SetExpectedBucketOwner(v string) *PutBucketLifecycleConfigurationInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field’s value.
19602 19603 19604 19605 |
// File 'service/s3/api.go', line 19602
|
func (s *PutBucketLifecycleConfigurationInput) SetLifecycleConfiguration(v *LifecycleConfiguration) *PutBucketLifecycleConfigurationInput
SetLifecycleConfiguration sets the LifecycleConfiguration field’s value.
19608 19609 19610 19611 |
// File 'service/s3/api.go', line 19608
|
func (s PutBucketLifecycleConfigurationInput) 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”.
19554 19555 19556 |
// File 'service/s3/api.go', line 19554
|
func (s *PutBucketLifecycleConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 |
// File 'service/s3/api.go', line 19568
|