public class LifecycleConfiguration.NoncurrentVersionTransition extends LifecycleConfiguration.TimeEvent
date, days, storageClass
Constructor and Description |
---|
NoncurrentVersionTransition() |
NoncurrentVersionTransition(Integer days,
StorageClassEnum storageClass)
Constructor
|
NoncurrentVersionTransition(Integer days,
String storageClass)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getDays()
Obtain the transition time of a noncurrent object version.
|
StorageClassEnum |
getObjectStorageClass()
Obtain the storage class of the noncurrent object version after
transition.
|
String |
getStorageClass()
Deprecated.
|
void |
setDays(Integer days)
Set the transition time of a noncurrent object version.
|
void |
setObjectStorageClass(StorageClassEnum storageClass)
Set the storage class of the noncurrent object version after
transition.
|
void |
setStorageClass(String storageClass)
Deprecated.
|
String |
toString() |
equals, hashCode
public NoncurrentVersionTransition()
@Deprecated public NoncurrentVersionTransition(Integer days, String storageClass)
days
- Transition time of the noncurrent object version, which
indicates the number of days after which the object will
be transit since it becomes a noncurrent versionstorageClass
- Storage class of the noncurrent object version after
transitionpublic NoncurrentVersionTransition(Integer days, StorageClassEnum storageClass)
days
- Transition time of the noncurrent object version, which
indicates the number of days after which the object will
be transit since it becomes a noncurrent versionstorageClass
- Storage class of the noncurrent object version after
transitionpublic Integer getDays()
public void setDays(Integer days)
days
- Transition time of the noncurrent object version, which
indicates the number of days after which the object will
be transit since it becomes a noncurrent version@Deprecated public String getStorageClass()
getObjectStorageClass()
@Deprecated public void setStorageClass(String storageClass)
storageClass
- Storage class of the noncurrent object version after
transitionsetObjectStorageClass(StorageClassEnum storageClass)
public StorageClassEnum getObjectStorageClass()
public void setObjectStorageClass(StorageClassEnum storageClass)
storageClass
- Storage class of the noncurrent object version after
transitionCopyright © 2021. All rights reserved.