Example usage for Java com.amazonaws.services.s3.model CreateBucketRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
CreateBucketRequest(String bucketName) Constructs a new CreateBucketRequest , ready to be executed to create the specified bucket in the US_Standard region. | |
CreateBucketRequest(String bucketName, Region region) Constructs a new CreateBucketRequest , ready to be executed to 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. |
String | getBucketName() Gets the name of the Amazon S3 bucket to create. |
void | setCannedAcl(CannedAccessControlList cannedAcl) Sets the optional Canned ACL to set for the new bucket. |
void | setRegion(String region) Sets the name of the Amazon S3 region in which this bucket will be created. |
CreateBucketRequest | withCannedAcl(CannedAccessControlList cannedAcl) Sets the optional Canned ACL to set for the new bucket, and returns this updated object so that additional method calls can be chained together. |