public class LifecycleConfiguration.NoncurrentVersionExpiration extends LifecycleConfiguration.TimeEvent
date, days, storageClass| Constructor and Description |
|---|
NoncurrentVersionExpiration() |
NoncurrentVersionExpiration(Integer days)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDays()
Obtain the expiration time of a noncurrent object version.
|
void |
setDays(Integer days)
Set the expiration time of a noncurrent object version.
|
String |
toString() |
equals, hashCodepublic NoncurrentVersionExpiration()
public NoncurrentVersionExpiration(Integer days)
days - Expiration time of the noncurrent object version, which
indicates the number of days after which the object
expires since it becomes a noncurrent versionpublic Integer getDays()
public void setDays(Integer days)
days - Expiration time of the noncurrent object version, which
indicates the number of days after which the object
expires since it becomes a noncurrent versionCopyright © 2021. All rights reserved.