Struct: s3.NoncurrentVersionExpiration
Overview
Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
NoncurrentDays *int64
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetNoncurrentDays(int64) *NoncurrentVersionExpiration
operation
SetNoncurrentDays sets the NoncurrentDays field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
NoncurrentDays *int64
`type:"integer"`
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates When an Object Became Noncurrent (docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations) in the Amazon Simple Storage Service Developer Guide.
_ struct{}
`type:"structure"`
Method Details
func (s NoncurrentVersionExpiration) 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”.
17885 17886 17887 |
// File 'service/s3/api.go', line 17885
|
func (s *NoncurrentVersionExpiration) SetNoncurrentDays(v int64) *NoncurrentVersionExpiration
SetNoncurrentDays sets the NoncurrentDays field's value.
17890 17891 17892 17893 |
// File 'service/s3/api.go', line 17890
|
func (s NoncurrentVersionExpiration) 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”.
17876 17877 17878 |
// File 'service/s3/api.go', line 17876
|