public static interface PutBucketAclRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketAclRequest.Builder,PutBucketAclRequest>
| Modifier and Type | Method and Description |
|---|---|
PutBucketAclRequest.Builder |
accessControlPolicy(AccessControlPolicy accessControlPolicy)
Contains the elements that set the ACL permissions for an object per grantee.
|
default PutBucketAclRequest.Builder |
accessControlPolicy(Consumer<AccessControlPolicy.Builder> accessControlPolicy)
Contains the elements that set the ACL permissions for an object per grantee.
|
PutBucketAclRequest.Builder |
acl(BucketCannedACL acl)
The canned ACL to apply to the bucket.
|
PutBucketAclRequest.Builder |
acl(String acl)
The canned ACL to apply to the bucket.
|
PutBucketAclRequest.Builder |
bucket(String bucket)
|
PutBucketAclRequest.Builder |
contentMD5(String contentMD5)
|
PutBucketAclRequest.Builder |
grantFullControl(String 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.
|
PutBucketAclRequest.Builder |
grantReadACP(String 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.
|
PutBucketAclRequest.Builder |
grantWriteACP(String grantWriteACP)
Allows grantee to write the ACL for the applicable bucket.
|
PutBucketAclRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutBucketAclRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationcopyapplyMutation, buildPutBucketAclRequest.Builder acl(String acl)
The canned ACL to apply to the bucket.
acl - The canned ACL to apply to the bucket.BucketCannedACL,
BucketCannedACLPutBucketAclRequest.Builder acl(BucketCannedACL acl)
The canned ACL to apply to the bucket.
acl - The canned ACL to apply to the bucket.BucketCannedACL,
BucketCannedACLPutBucketAclRequest.Builder accessControlPolicy(AccessControlPolicy accessControlPolicy)
Contains the elements that set the ACL permissions for an object per grantee.
accessControlPolicy - Contains the elements that set the ACL permissions for an object per grantee.default PutBucketAclRequest.Builder accessControlPolicy(Consumer<AccessControlPolicy.Builder> accessControlPolicy)
Contains the elements that set the ACL permissions for an object per grantee.
This is a convenience that creates an instance of theAccessControlPolicy.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.BuilderaccessControlPolicy(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.BuilderPutBucketAclRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.