public static interface CreateBucketRequest.Builder extends S3Request.Builder, SdkPojo, 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)
|
default CreateBucketRequest.Builder |
createBucketConfiguration(Consumer<CreateBucketConfiguration.Builder> createBucketConfiguration)
This is a convenience that creates an instance of the
CreateBucketConfiguration.Builder avoiding the
need to create one manually via CreateBucketConfiguration.builder(). |
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.
|
CreateBucketRequest.Builder |
objectLockEnabledForBucket(Boolean objectLockEnabledForBucket)
Specifies whether you want Amazon S3 object lock to be enabled for the new bucket.
|
CreateBucketRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateBucketRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationcopyapplyMutation, buildCreateBucketRequest.Builder acl(String acl)
The canned ACL to apply to the bucket.
acl - The canned ACL to apply to the bucket.BucketCannedACL,
BucketCannedACLCreateBucketRequest.Builder acl(BucketCannedACL acl)
The canned ACL to apply to the bucket.
acl - The canned ACL to apply to the bucket.BucketCannedACL,
BucketCannedACLCreateBucketRequest.Builder bucket(String bucket)
bucket - CreateBucketRequest.Builder createBucketConfiguration(CreateBucketConfiguration createBucketConfiguration)
createBucketConfiguration - 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)
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
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.
grantRead - Allows grantee to list the objects in the bucket.CreateBucketRequest.Builder grantReadACP(String grantReadACP)
Allows grantee to read the bucket ACL.
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.
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.
grantWriteACP - Allows grantee to write the ACL for the applicable bucket.CreateBucketRequest.Builder objectLockEnabledForBucket(Boolean objectLockEnabledForBucket)
Specifies whether you want Amazon S3 object lock to be enabled for the new bucket.
objectLockEnabledForBucket - Specifies whether you want Amazon S3 object lock to be enabled for the new bucket.CreateBucketRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateBucketRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.