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”.
19111 19112 19113 |
// File 'service/s3/api.go', line 19111
|
func (s *PutBucketLifecycleConfigurationInput) SetBucket(v string) *PutBucketLifecycleConfigurationInput
SetBucket sets the Bucket field's value.
19137 19138 19139 19140 |
// File 'service/s3/api.go', line 19137
|
func (s *PutBucketLifecycleConfigurationInput) SetExpectedBucketOwner(v string) *PutBucketLifecycleConfigurationInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
19150 19151 19152 19153 |
// File 'service/s3/api.go', line 19150
|
func (s *PutBucketLifecycleConfigurationInput) SetLifecycleConfiguration(v *LifecycleConfiguration) *PutBucketLifecycleConfigurationInput
SetLifecycleConfiguration sets the LifecycleConfiguration field's value.
19156 19157 19158 19159 |
// File 'service/s3/api.go', line 19156
|
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”.
19102 19103 19104 |
// File 'service/s3/api.go', line 19102
|
func (s *PutBucketLifecycleConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 |
// File 'service/s3/api.go', line 19116
|