|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.services.bos.model.BucketSummary
public class BucketSummary
Represents an Baidu Bos bucket.
Every object stored in Baidu Bos is contained within a bucket. Buckets partition the namespace of objects stored in Baidu Bos at the top level. Within a bucket, any name can be used for objects. However, bucket names must be unique across all of Baidu Bos.
There are no limits to the number of objects that can be stored in a bucket. Performance does not vary based on the number of buckets used. Store all objects within a single bucket or organize them across several buckets.
Constructor Summary | |
---|---|
BucketSummary()
Constructs a bucket without any name specified. |
|
BucketSummary(String name)
Creates a bucket with a name. |
Method Summary | |
---|---|
Date |
getCreationDate()
Gets the bucket's creation date. |
String |
getLocation()
Gets the location of the bucket. |
String |
getName()
Gets the name of the bucket. |
void |
setCreationDate(Date creationDate)
For internal use only. |
void |
setLocation(String location)
Sets the location of the bucket. |
void |
setName(String name)
Sets the name of the bucket. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BucketSummary()
public BucketSummary(String name)
name
- The name for the bucket.Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name for the bucket.public Date getCreationDate()
null
if the creation date is not known.
null
if not known.public void setCreationDate(Date creationDate)
creationDate
- The bucket's creation date.public String getLocation()
public void setLocation(String location)
location
- The location for the bucket.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |