|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.services.bos.model.BosObjectSummary
public class BosObjectSummary
Contains the summary of an object stored in a Baidu Bos bucket. This object doesn't contain contain the object's full metadata or any of its contents.
Field Summary | |
---|---|
protected String |
bucketName
The name of the bucket in which this object is stored. |
protected String |
eTag
Hex encoded MD5 hash of this object's contents, as computed by Baidu Bos. |
protected String |
key
The key under which this object is stored. |
protected Date |
lastModified
The date, according to Baidu Bos, when this object was last modified. |
protected User |
owner
The user of this object - can be null if the requester doesn't have permission to view object ownership information. |
protected long |
size
The size of this object, in bytes. |
protected String |
storageClass
The storage class of object. |
Constructor Summary | |
---|---|
BosObjectSummary()
|
Method Summary | |
---|---|
String |
getBucketName()
Gets the name of the Baidu Bos bucket in which this object is stored. |
String |
getETag()
Gets the hex encoded 128-bit MD5 hash of this object's contents as computed by Baidu Bos. |
String |
getKey()
Gets the key under which this object is stored in Baidu Bos. |
Date |
getLastModified()
Gets the date when, according to Baidu Bos, this object was last modified. |
User |
getOwner()
Gets the owner of this object. |
long |
getSize()
Gets the size of this object in bytes. |
String |
getStorageClass()
Gets the storageClass of this object. |
void |
setBucketName(String bucketName)
Sets the name of the Baidu Bos bucket in which this object is stored. |
void |
setETag(String eTag)
Sets the hex encoded 128-bit MD5 hash of this object's contents as computed by Baidu Bos. |
void |
setKey(String key)
Sets the key under which this object is stored in Baidu Bos. |
void |
setLastModified(Date lastModified)
Sets the date, according to Baidu Bos, this object was last modified. |
void |
setOwner(User owner)
Sets the owner of this object. |
void |
setSize(long size)
Sets the size of this object in bytes. |
void |
setStorageClass(String storageClass)
Sets the storageClass of this object. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String bucketName
protected String key
protected String eTag
protected long size
protected Date lastModified
protected User owner
protected String storageClass
Constructor Detail |
---|
public BosObjectSummary()
Method Detail |
---|
public String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The name of the Baidu Bos bucket in which this object is stored.public String getKey()
public void setKey(String key)
key
- The key under which this object is stored in Baidu Bos.public String getETag()
public void setETag(String eTag)
eTag
- The hex encoded 128-bit MD5 hash of this object's contents as computed by Baidu Bos.public long getSize()
public void setSize(long size)
size
- The size of this object in bytes.public Date getLastModified()
public void setLastModified(Date lastModified)
lastModified
- The date when, according to Baidu Bos, this object was last modified.public User getOwner()
public void setOwner(User owner)
owner
- The owner of this object.public String getStorageClass()
public void setStorageClass(String storageClass)
storageClass
- The storageClass of this object.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |