public static class LifecycleConfiguration.Transition
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
date
指明规则对应的动作在何时操作,支持2007-12-01T12:00:00.000Z和2007-12-01T00:00:00+08:00这两种格式
|
int |
days
指明规则对应的动作在对象最后的修改日期过后多少天操作:
如果是 Transition,该字段有效值是非负整数
如果是 Expiration,该字段有效值为正整数,最大支持3650天
|
java.lang.String |
storageClass
指定 Object 转储到的目标存储类型,枚举值: STANDARD_IA,ARCHIVE
|
构造器和说明 |
---|
Transition() |
public int days
public java.lang.String date
public java.lang.String storageClass
public java.lang.String toString()
java.lang.Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
在类中 java.lang.Object