public static interface CreateBucketRequest.Builder extends S3Request.Builder, CopyableBuilder<CreateBucketRequest.Builder,CreateBucketRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateBucketRequest.Builder |
acl(BucketCannedACL acl)
The canned ACL to apply to the bucket.
|
CreateBucketRequest.Builder |
acl(String acl)
The canned ACL to apply to the bucket.
|
CreateBucketRequest.Builder |
bucket(String bucket)
Sets the value of the Bucket property for this object.
|
default CreateBucketRequest.Builder |
createBucketConfiguration(Consumer<CreateBucketConfiguration.Builder> createBucketConfiguration)
Sets the value of the CreateBucketConfiguration property for this object.
|
CreateBucketRequest.Builder |
createBucketConfiguration(CreateBucketConfiguration createBucketConfiguration)
Sets the value of the CreateBucketConfiguration property for this object.
|
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.
|
CreateBucketRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateBucketRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildCreateBucketRequest.Builder acl(String acl)
acl - The canned ACL to apply to the bucket.BucketCannedACL,
BucketCannedACLCreateBucketRequest.Builder acl(BucketCannedACL acl)
acl - The canned ACL to apply to the bucket.BucketCannedACL,
BucketCannedACLCreateBucketRequest.Builder bucket(String bucket)
bucket - The new value for the Bucket property for this object.CreateBucketRequest.Builder createBucketConfiguration(CreateBucketConfiguration createBucketConfiguration)
createBucketConfiguration - The new value for the CreateBucketConfiguration property for this object.default CreateBucketRequest.Builder createBucketConfiguration(Consumer<CreateBucketConfiguration.Builder> createBucketConfiguration)
CreateBucketConfiguration.Builder avoiding the
need to create one manually via CreateBucketConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to createBucketConfiguration(CreateBucketConfiguration).createBucketConfiguration - a consumer that will call methods on CreateBucketConfiguration.BuildercreateBucketConfiguration(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.CreateBucketRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateBucketRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.