public static interface CreateBucketRequest.Builder extends S3ControlRequest.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)
The name of the bucket.
|
default CreateBucketRequest.Builder |
createBucketConfiguration(Consumer<CreateBucketConfiguration.Builder> createBucketConfiguration)
The configuration information for the bucket.
|
CreateBucketRequest.Builder |
createBucketConfiguration(CreateBucketConfiguration createBucketConfiguration)
The configuration information for the bucket.
|
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 S3 Object Lock to be enabled for the new bucket.
|
CreateBucketRequest.Builder |
outpostId(String outpostId)
The ID of the Outposts where the bucket is being created.
|
CreateBucketRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateBucketRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateBucketRequest.Builder acl(String acl)
The canned ACL to apply to the bucket.
This is not supported by Amazon S3 on Outposts buckets.
acl - The canned ACL to apply to the bucket. This is not supported by Amazon S3 on Outposts buckets.
BucketCannedACL,
BucketCannedACLCreateBucketRequest.Builder acl(BucketCannedACL acl)
The canned ACL to apply to the bucket.
This is not supported by Amazon S3 on Outposts buckets.
acl - The canned ACL to apply to the bucket. This is not supported by Amazon S3 on Outposts buckets.
BucketCannedACL,
BucketCannedACLCreateBucketRequest.Builder bucket(String bucket)
The name of the bucket.
bucket - The name of the bucket.CreateBucketRequest.Builder createBucketConfiguration(CreateBucketConfiguration createBucketConfiguration)
The configuration information for the bucket.
This is not supported by Amazon S3 on Outposts buckets.
createBucketConfiguration - The configuration information for the bucket. This is not supported by Amazon S3 on Outposts buckets.
default CreateBucketRequest.Builder createBucketConfiguration(Consumer<CreateBucketConfiguration.Builder> createBucketConfiguration)
The configuration information for the bucket.
This is not supported by Amazon S3 on Outposts buckets.
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.
This is not supported by Amazon S3 on Outposts buckets.
grantFullControl - Allows grantee the read, write, read ACP, and write ACP permissions on the bucket. This is not supported by Amazon S3 on Outposts buckets.
CreateBucketRequest.Builder grantRead(String grantRead)
Allows grantee to list the objects in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grantRead - Allows grantee to list the objects in the bucket. This is not supported by Amazon S3 on Outposts buckets.
CreateBucketRequest.Builder grantReadACP(String grantReadACP)
Allows grantee to read the bucket ACL.
This is not supported by Amazon S3 on Outposts buckets.
grantReadACP - Allows grantee to read the bucket ACL. This is not supported by Amazon S3 on Outposts buckets.
CreateBucketRequest.Builder grantWrite(String grantWrite)
Allows grantee to create, overwrite, and delete any object in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grantWrite - Allows grantee to create, overwrite, and delete any object in the bucket. This is not supported by Amazon S3 on Outposts buckets.
CreateBucketRequest.Builder grantWriteACP(String grantWriteACP)
Allows grantee to write the ACL for the applicable bucket.
This is not supported by Amazon S3 on Outposts buckets.
grantWriteACP - Allows grantee to write the ACL for the applicable bucket. This is not supported by Amazon S3 on Outposts buckets.
CreateBucketRequest.Builder objectLockEnabledForBucket(Boolean objectLockEnabledForBucket)
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
This is not supported by Amazon S3 on Outposts buckets.
objectLockEnabledForBucket - Specifies whether you want S3 Object Lock to be enabled for the new bucket. This is not supported by Amazon S3 on Outposts buckets.
CreateBucketRequest.Builder outpostId(String outpostId)
The ID of the Outposts where the bucket is being created.
This is required by Amazon S3 on Outposts buckets.
outpostId - The ID of the Outposts where the bucket is being created. This is required by Amazon S3 on Outposts buckets.
CreateBucketRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateBucketRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.