public class OSSObjectSummary
extends java.lang.Object
构造器和说明 |
---|
OSSObjectSummary()
Creates a new
OSSObjectSummary |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getBucketName()
Gets the bucket name.
|
java.lang.String |
getETag()
Gets the ETag which is the object's 128 bit MD5 digest in hex encoding.
|
java.lang.String |
getKey()
Gets Object key
|
java.util.Date |
getLastModified()
Gets the last modified time of the object.
|
Owner |
getOwner() |
long |
getSize()
Gets Object size in byte
|
java.lang.String |
getStorageClass()
Gets the object's storage class (Standard, IA, Archive)
|
java.lang.String |
getType()
Gets Object type
|
void |
setBucketName(java.lang.String bucketName)
Sets the bucket name
|
void |
setETag(java.lang.String eTag)
Sets the ETag which is the object's 128 bit MD5 digest in hex encoding.
|
void |
setKey(java.lang.String key)
Sets Object key
|
void |
setLastModified(java.util.Date lastModified)
Sets the last modified time of the object.
|
void |
setOwner(Owner owner) |
void |
setSize(long size)
Sets Object size in byte
|
void |
setStorageClass(java.lang.String storageClass)
Sets the object's storage class
|
void |
setType(java.lang.String type)
Sets object type
|
public OSSObjectSummary()
OSSObjectSummary
public java.lang.String getBucketName()
public void setBucketName(java.lang.String bucketName)
bucketName
- The bucket namepublic java.lang.String getKey()
public void setKey(java.lang.String key)
key
- Object Key.public java.lang.String getETag()
public void setETag(java.lang.String eTag)
eTag
- The 128 bit MD5 digest in hex encoding.public long getSize()
public void setSize(long size)
size
- Object size in bytepublic java.util.Date getLastModified()
public void setLastModified(java.util.Date lastModified)
lastModified
- The object's last modified timepublic java.lang.String getStorageClass()
public void setStorageClass(java.lang.String storageClass)
storageClass
- Object storage classpublic java.lang.String getType()
public void setType(java.lang.String type)
type
- Object typepublic Owner getOwner()
public void setOwner(Owner owner)