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”.
15489 15490 15491 |
// File 'service/s3/api.go', line 15489
|
func (s *LifecycleConfiguration) SetRules(v []*LifecycleRule) *LifecycleConfiguration
SetRules sets the Rules field's value.
15517 15518 15519 15520 |
// File 'service/s3/api.go', line 15517
|
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”.
15480 15481 15482 |
// File 'service/s3/api.go', line 15480
|
func (s *LifecycleConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 |
// File 'service/s3/api.go', line 15494
|