public static class LifecycleConfiguration.Rule
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
LifecycleConfiguration.AbortIncompleteMultiUpload |
abortIncompleteMultiUpload
设置允许分片上传保持运行的最长时间
|
LifecycleConfiguration.Expiration |
expiration
规则过期属性
|
LifecycleConfiguration.Filter |
filter
Filter 用于描述规则影响的 Object 集合
|
java.lang.String |
id
用于唯一地标识规则,长度不能超过255个字符
|
LifecycleConfiguration.NoncurrentVersionExpiration |
noncurrentVersionExpiration
指明非当前版本对象何时过期
|
LifecycleConfiguration.NoncurrentVersionTransition |
noncurrentVersionTransition
指明非当前版本对象何时转换为 STANDARD_IA 或 ARCHIVE
|
java.lang.String |
status
指明规则是否启用,枚举值:Enabled,Disabled
|
LifecycleConfiguration.Transition |
transition
规则转换属性,对象何时转换为 Standard_IA 或 Archive
|
构造器和说明 |
---|
Rule() |
public java.lang.String id
public LifecycleConfiguration.Filter filter
public java.lang.String status
public LifecycleConfiguration.Transition transition
public LifecycleConfiguration.Expiration expiration
public LifecycleConfiguration.NoncurrentVersionExpiration noncurrentVersionExpiration
public LifecycleConfiguration.NoncurrentVersionTransition noncurrentVersionTransition
public LifecycleConfiguration.AbortIncompleteMultiUpload abortIncompleteMultiUpload
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