Struct: s3.LifecycleConfiguration
Overview
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.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Rules []*LifecycleRule
Rules is a required field.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetRules([]*LifecycleRule) *LifecycleConfiguration
operation
SetRules sets the Rules 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
Rules []*LifecycleRule
`locationName:"Rule" type:"list" flattened:"true" required:"true"`
Rules is a required field
_ struct{}
`type:"structure"`
Method Details
func (s LifecycleConfiguration) 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”.
15640 15641 15642 |
// File 'service/s3/api.go', line 15640
|
func (s *LifecycleConfiguration) SetRules(v []*LifecycleRule) *LifecycleConfiguration
SetRules sets the Rules field’s value.
15668 15669 15670 15671 |
// File 'service/s3/api.go', line 15668
|
func (s LifecycleConfiguration) 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”.
15631 15632 15633 |
// File 'service/s3/api.go', line 15631
|
func (s *LifecycleConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 |
// File 'service/s3/api.go', line 15645
|