public class LifecycleConfiguration.NoncurrentVersionTransition extends LifecycleConfiguration.TimeEvent
date, days, storageClass| 构造器 | 说明 |
|---|---|
NoncurrentVersionTransition() |
|
NoncurrentVersionTransition(Integer days,
StorageClassEnum storageClass) |
Constructor
|
NoncurrentVersionTransition(Integer days,
String storageClass) |
已过时。
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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() |
已过时。
|
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) |
已过时。
|
String |
toString() |
equals, hashCodepublic 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 © 2025. All rights reserved.