public static class BucketLifecycleConfiguration.NoncurrentVersionExpiration extends Object implements Serializable
| Constructor and Description |
|---|
NoncurrentVersionExpiration() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDays()
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action.
|
int |
getNewerNoncurrentVersions()
Specifies how many noncurrent versions Amazon S3 will retain.
|
void |
setDays(int days)
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action.
|
void |
setNewerNoncurrentVersions(int newerNoncurrentVersions)
Specifies how many noncurrent versions Amazon S3 will retain.
|
BucketLifecycleConfiguration.NoncurrentVersionExpiration |
withDays(int noncurrentDays)
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action.
|
BucketLifecycleConfiguration.NoncurrentVersionExpiration |
withNewerNoncurrentVersions(int newerNoncurrentVersions)
Specifies how many noncurrent versions Amazon S3 will retain.
|
public void setDays(int days)
public int getDays()
public BucketLifecycleConfiguration.NoncurrentVersionExpiration withDays(int noncurrentDays)
public void setNewerNoncurrentVersions(int newerNoncurrentVersions)
public int getNewerNoncurrentVersions()
public BucketLifecycleConfiguration.NoncurrentVersionExpiration withNewerNoncurrentVersions(int newerNoncurrentVersions)
Copyright © 2025. All rights reserved.