public static class ListBucket.Contents
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
eTag
对象的实体标签(Entity Tag),是对象被创建时标识对象内容的信息标签,可用于检查对象的内容是否发生变化,
例如“8e0b617ca298a564c3331da28dcb50df”,此头部并不一定返回对象的 MD5 值,而是根据对象上传和加密方式而有所不同
|
java.lang.String |
key
对象键
|
java.lang.String |
lastModified
对象最后修改时间,为 ISO8601 格式,如2019-05-24T10:56:40Z
|
ListBucket.Owner |
owner
对象持有者信息
|
long |
size
对象大小,单位为 Byte
|
java.lang.String |
storageClass
对象存储类型
|
构造器和说明 |
---|
Contents() |
public java.lang.String key
public java.lang.String lastModified
public java.lang.String eTag
public long size
public ListBucket.Owner owner
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