public static interface PutBucketAclRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketAclRequest.Builder,PutBucketAclRequest>
build
overrideConfiguration
copy
applyMutation, build
PutBucketAclRequest.Builder acl(String acl)
The canned ACL to apply to the bucket.
acl
- The canned ACL to apply to the bucket.BucketCannedACL
,
BucketCannedACL
PutBucketAclRequest.Builder acl(BucketCannedACL acl)
The canned ACL to apply to the bucket.
acl
- The canned ACL to apply to the bucket.BucketCannedACL
,
BucketCannedACL
PutBucketAclRequest.Builder accessControlPolicy(AccessControlPolicy accessControlPolicy)
accessControlPolicy
- default PutBucketAclRequest.Builder accessControlPolicy(Consumer<AccessControlPolicy.Builder> accessControlPolicy)
AccessControlPolicy.Builder
avoiding the need
to create one manually via AccessControlPolicy.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to accessControlPolicy(AccessControlPolicy)
.accessControlPolicy
- a consumer that will call methods on AccessControlPolicy.Builder
accessControlPolicy(AccessControlPolicy)
PutBucketAclRequest.Builder bucket(String bucket)
bucket
- PutBucketAclRequest.Builder contentMD5(String contentMD5)
contentMD5
- PutBucketAclRequest.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.PutBucketAclRequest.Builder grantRead(String grantRead)
Allows grantee to list the objects in the bucket.
grantRead
- Allows grantee to list the objects in the bucket.PutBucketAclRequest.Builder grantReadACP(String grantReadACP)
Allows grantee to read the bucket ACL.
grantReadACP
- Allows grantee to read the bucket ACL.PutBucketAclRequest.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.PutBucketAclRequest.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.PutBucketAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PutBucketAclRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.