类 LifecycleConfiguration.NoncurrentVersionTransition
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.LifecycleConfiguration.TimeEvent
cn.warpin.thirdPart.huawei.obs.obs.services.model.LifecycleConfiguration.NoncurrentVersionTransition
public class LifecycleConfiguration.NoncurrentVersionTransition
extends LifecycleConfiguration.TimeEvent
Transition policy for noncurrent versions
-
字段概要
从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.model.LifecycleConfiguration.TimeEvent
date, days, storageClass -
构造器概要
构造器构造器说明NoncurrentVersionTransition(Integer days, StorageClassEnum storageClass) ConstructorNoncurrentVersionTransition(Integer days, String storageClass) 已过时。 -
方法概要
修饰符和类型方法说明getDays()Obtain the transition time of a noncurrent object version.Obtain the storage class of the noncurrent object version after transition.已过时。voidSet the transition time of a noncurrent object version.voidsetObjectStorageClass(StorageClassEnum storageClass) Set the storage class of the noncurrent object version after transition.voidsetStorageClass(String storageClass) 已过时。toString()从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.LifecycleConfiguration.TimeEvent
equals, hashCode
-
构造器详细资料
-
NoncurrentVersionTransition
public NoncurrentVersionTransition() -
NoncurrentVersionTransition
已过时。Constructor- 参数:
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 transition
-
NoncurrentVersionTransition
Constructor- 参数:
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 transition
-
-
方法详细资料
-
getDays
Obtain the transition time of a noncurrent object version.- 返回:
- 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
-
setDays
Set the transition time of a noncurrent object version.- 参数:
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
-
getStorageClass
已过时。Obtain the storage class of the noncurrent object version after transition.- 返回:
- Storage class of the noncurrent object version after transition
- 另请参阅:
-
setStorageClass
已过时。Set the storage class of the noncurrent object version after transition.- 参数:
storageClass- Storage class of the noncurrent object version after transition- 另请参阅:
-
getObjectStorageClass
Obtain the storage class of the noncurrent object version after transition.- 返回:
- Storage class of the noncurrent object version after transition
-
setObjectStorageClass
Set the storage class of the noncurrent object version after transition.- 参数:
storageClass- Storage class of the noncurrent object version after transition
-
toString
-