类 LifecycleConfiguration.Transition
java.lang.Object
com.obs.services.model.LifecycleConfiguration.TimeEvent
com.obs.services.model.LifecycleConfiguration.Transition
Object transition policy
-
字段概要
从类继承的字段 com.obs.services.model.LifecycleConfiguration.TimeEvent
date, days, storageClass -
构造器概要
构造器构造器说明Transition(Integer days, StorageClassEnum storageClass) ConstructorTransition(Integer days, String storageClass) 已过时。Transition(Date date, StorageClassEnum storageClass) ConstructorTransition(Date date, String storageClass) 已过时。 -
方法概要
修饰符和类型方法说明getDate()Obtain the object transition date.getDays()Obtain the object transition time.Obtain the storage class of the object after transition.已过时。voidSet the object transition date.voidSet the object transition time.voidsetObjectStorageClass(StorageClassEnum storageClass) Set the storage class of the object after transition.voidsetStorageClass(String storageClass) 已过时。toString()从类继承的方法 com.obs.services.model.LifecycleConfiguration.TimeEvent
equals, hashCode
-
构造器详细资料
-
Transition
public Transition() -
Transition
已过时。Constructor- 参数:
date- Date when the object is transitedstorageClass- Storage class of the object after it is transited. Possible values are "WARM" and "COLD".
-
Transition
Constructor- 参数:
date- Date when the object is transitedstorageClass- Storage class of the object after it is transited. Possible values are "WARM" and "COLD".
-
Transition
已过时。Constructor- 参数:
days- Object transition time, which indicates the number of days when the object is automatically transited after being created.storageClass- Storage class of the object after it is transited. Possible values are "WARM" and "COLD".
-
Transition
Constructor- 参数:
days- Object transition time, which indicates the number of days when the object is automatically transited after being created.storageClass- Storage class of the object after it is transited. Possible values are "WARM" and "COLD".
-
-
方法详细资料
-
getStorageClass
已过时。Obtain the storage class of the object after transition.- 返回:
- Storage class of the object after transition
- 另请参阅:
-
setStorageClass
已过时。Set the storage class of the object after transition.- 参数:
storageClass- Storage class of the object after transition- 另请参阅:
-
getObjectStorageClass
Obtain the storage class of the object after transition.- 返回:
- Storage class of the object after transition
-
setObjectStorageClass
Set the storage class of the object after transition.- 参数:
storageClass- Storage class of the object after transition
-
getDays
Obtain the object transition time.- 返回:
- Object transition time, which indicates the number of days when the object is automatically transited after being created.
-
setDays
Set the object transition time.- 参数:
days- Object transition time, which indicates the number of days when the object is automatically transited after being created.
-
getDate
-
setDate
Set the object transition date.- 参数:
date- Date when the object is transited
-
toString
-