public static class ListBucketVersions.Version extends ListBucketVersions.ObjectVersion
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
eTag
对象的实体标签(Entity Tag),是对象被创建时标识对象内容的信息标签,
可用于检查对象的内容是否发生变化,例如"8e0b617ca298a564c3331da28dcb50df"。
|
long |
size
对象大小,单位为 Byte
|
java.lang.String |
storageClass
对象存储类型
|
isLatest, key, lastModified, owner, versionId
构造器和说明 |
---|
Version() |
public java.lang.String eTag
public long size
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