public class LifecycleConfiguration.NoncurrentVersionExpiration extends LifecycleConfiguration.TimeEvent
date, days, storageClass
Constructor and Description |
---|
LifecycleConfiguration.NoncurrentVersionExpiration() |
LifecycleConfiguration.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, hashCode
public LifecycleConfiguration.NoncurrentVersionExpiration()
public LifecycleConfiguration.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 © 2019. All rights reserved.