public class CreateBucketRequest extends SCSWebServiceRequest
构造器和说明 |
---|
CreateBucketRequest(String bucketName)
Constructs a new
CreateBucketRequest ,
ready to be executed and create the
specified bucket . |
限定符和类型 | 方法和说明 |
---|---|
String |
getBucketName()
Gets the name of the Amazon S3 bucket to create.
|
CannedAccessControlList |
getCannedAcl()
Returns the optional Canned ACL to set for the new bucket.
|
void |
setBucketName(String bucketName)
Sets the name of the Amazon S3 bucket to create.
|
void |
setCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional Canned ACL to set for the new bucket.
|
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.
|
public CreateBucketRequest(String bucketName)
CreateBucketRequest
,
ready to be executed and create the
specified bucket .bucketName
- The name of the Amazon S3 bucket to create.public void setBucketName(String bucketName)
bucketName
- The name of the Amazon S3 bucket to create.getBucketName()
public String getBucketName()
setBucketName(String)
public CannedAccessControlList getCannedAcl()
public void setCannedAcl(CannedAccessControlList cannedAcl)
cannedAcl
- The optional Canned ACL to set for the new bucket.public CreateBucketRequest withCannedAcl(CannedAccessControlList cannedAcl)
cannedAcl
- The optional Canned ACL to set for the new bucket.Copyright © 2016. All rights reserved.