|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazonaws.services.s3.model.Bucket
public class Bucket
Represents an Amazon S3 bucket.
| Constructor Summary | |
|---|---|
Bucket()
Create a bucket without any name specified |
|
Bucket(String name)
Create a bucket with a name. |
|
| Method Summary | |
|---|---|
Date |
getCreationDate()
Returns this bucket's creation date, or null if not known. |
String |
getName()
Returns the name of this bucket. |
Owner |
getOwner()
|
void |
setCreationDate(Date creationDate)
Sets the bucket's creation date in S3 - this should only be used internally by AWS Java client methods that retrieve information directly from S3. |
void |
setName(String name)
Set the name of the bucket. |
void |
setOwner(Owner owner)
Sets the bucket's owner in S3 - this should only be used internally by the AWS Java client methods that retrieve information directly from S3. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Bucket()
public Bucket(String name)
name - the name for the bucket| Method Detail |
|---|
public String toString()
toString in class ObjectObject.toString()public Owner getOwner()
public void setOwner(Owner owner)
owner - public Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate - public String getName()
public void setName(String name)
name - the name for the bucket
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||