|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.CreateBucketRequest
public class CreateBucketRequest
Creates the specified bucket.
| Constructor Summary | |
|---|---|
CreateBucketRequest(String bucketName)
Constructs a new CreateBucketRequest, ready to be executed and create the specified bucket in the US_Standard region. |
|
CreateBucketRequest(String bucketName,
Region region)
Constructs a new CreateBucketRequest, ready to be executed and create the specified bucket in the specified region. |
|
CreateBucketRequest(String bucketName,
String region)
Constructs a new CreateBucketRequest, ready to be executed and create the specified bucket in the specified region. |
|
| Method Summary | |
|---|---|
String |
getBucketName()
Returns the name of the Amazon S3 bucket to create. |
String |
getRegion()
Returns the name of the Amazon S3 region in which this bucket will be created. |
void |
setBucketName(String bucketName)
Sets the name of the Amazon S3 bucket to create. |
void |
setRegion(String region)
Sets the name of the Amazon S3 region in which this bucket will be created. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateBucketRequest(String bucketName)
bucketName - The name of the Amazon S3 bucket to create.
public CreateBucketRequest(String bucketName,
Region region)
bucketName - The name of the Amazon S3 bucket to create.region - The region in which to create this bucket.
public CreateBucketRequest(String bucketName,
String region)
bucketName - The name of the Amazon S3 bucket to create.region - The region in which to create this bucket.| Method Detail |
|---|
public void setBucketName(String bucketName)
bucketName - the name of the Amazon S3 bucket to create.public String getBucketName()
public void setRegion(String region)
region - the name of the Amazon S3 region in which this bucket will be created.public String getRegion()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||