类 LifecycleConfiguration.Expiration
java.lang.Object
com.obs.services.model.LifecycleConfiguration.TimeEvent
com.obs.services.model.LifecycleConfiguration.Expiration
Expiration time of an object
-
字段概要
字段从类继承的字段 com.obs.services.model.LifecycleConfiguration.TimeEvent
date, days, storageClass -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getDate()Obtain the object expiration date.getDays()Obtain the expiration time of the object.voidObtain the object expiration date.voidSet the object expiration time.voidsetExpiredObjectDeleteMarker(Boolean expiredObjectDeleteMarker) toString()从类继承的方法 com.obs.services.model.LifecycleConfiguration.TimeEvent
equals, hashCode
-
字段详细资料
-
expiredObjectDeleteMarker
-
-
构造器详细资料
-
Expiration
public Expiration() -
Expiration
Constructor- 参数:
date- A specified date in which the object will expire
-
Expiration
Constructor- 参数:
days- Object expiration time, specifying how many days after creation will the object expire
-
-
方法详细资料
-
getDays
Obtain the expiration time of the object.- 返回:
- Object expiration time, specifying how many days after creation will the object expire
-
setDays
Set the object expiration time.- 参数:
days- Object expiration time, specifying how many days after creation will the object expire
-
getDate
Obtain the object expiration date.- 返回:
- A specified date in which the object will expire
-
setDate
Obtain the object expiration date.- 参数:
date- A specified date in which the object will expire
-
getExpiredObjectDeleteMarker
-
setExpiredObjectDeleteMarker
-
toString
-