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
- NewerNoncurrentVersions *int64
-
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.
-
SetNewerNoncurrentVersions(int64) *NoncurrentVersionExpiration
operation
SetNewerNoncurrentVersions sets the NewerNoncurrentVersions field's value.
-
SetNoncurrentDays(int64) *NoncurrentVersionExpiration
operation
SetNoncurrentDays sets the NoncurrentDays field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
NewerNoncurrentVersions *int64
`type:"integer"`
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”.
18057 18058 18059 |
// File 'service/s3/api.go', line 18057
|
func (s *NoncurrentVersionExpiration) SetNewerNoncurrentVersions(v int64) *NoncurrentVersionExpiration
SetNewerNoncurrentVersions sets the NewerNoncurrentVersions field's value.
18062 18063 18064 18065 |
// File 'service/s3/api.go', line 18062
|
func (s *NoncurrentVersionExpiration) SetNoncurrentDays(v int64) *NoncurrentVersionExpiration
SetNoncurrentDays sets the NoncurrentDays field's value.
18068 18069 18070 18071 |
// File 'service/s3/api.go', line 18068
|
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”.
18048 18049 18050 |
// File 'service/s3/api.go', line 18048
|