CopyableBuilder<CreateBucketRequest.Builder,CreateBucketRequest>
, SdkBuilder<CreateBucketRequest.Builder,CreateBucketRequest>
public static interface CreateBucketRequest.Builder extends CopyableBuilder<CreateBucketRequest.Builder,CreateBucketRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateBucketRequest.Builder |
acl(String acl) |
The canned ACL to apply to the bucket.
|
CreateBucketRequest.Builder |
acl(BucketCannedACL acl) |
The canned ACL to apply to the bucket.
|
CreateBucketRequest.Builder |
bucket(String bucket) |
|
CreateBucketRequest.Builder |
createBucketConfiguration(CreateBucketConfiguration createBucketConfiguration) |
|
CreateBucketRequest.Builder |
grantFullControl(String grantFullControl) |
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
|
CreateBucketRequest.Builder |
grantRead(String grantRead) |
Allows grantee to list the objects in the bucket.
|
CreateBucketRequest.Builder |
grantReadACP(String grantReadACP) |
Allows grantee to read the bucket ACL.
|
CreateBucketRequest.Builder |
grantWrite(String grantWrite) |
Allows grantee to create, overwrite, and delete any object in the bucket.
|
CreateBucketRequest.Builder |
grantWriteACP(String grantWriteACP) |
Allows grantee to write the ACL for the applicable bucket.
|
copy
apply, build
CreateBucketRequest.Builder acl(String acl)
acl
- The canned ACL to apply to the bucket.BucketCannedACL
CreateBucketRequest.Builder acl(BucketCannedACL acl)
acl
- The canned ACL to apply to the bucket.BucketCannedACL
CreateBucketRequest.Builder bucket(String bucket)
bucket
- CreateBucketRequest.Builder createBucketConfiguration(CreateBucketConfiguration createBucketConfiguration)
createBucketConfiguration
- CreateBucketRequest.Builder grantFullControl(String grantFullControl)
grantFullControl
- Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.CreateBucketRequest.Builder grantRead(String grantRead)
grantRead
- Allows grantee to list the objects in the bucket.CreateBucketRequest.Builder grantReadACP(String grantReadACP)
grantReadACP
- Allows grantee to read the bucket ACL.CreateBucketRequest.Builder grantWrite(String grantWrite)
grantWrite
- Allows grantee to create, overwrite, and delete any object in the bucket.CreateBucketRequest.Builder grantWriteACP(String grantWriteACP)
grantWriteACP
- Allows grantee to write the ACL for the applicable bucket.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.