public static interface PutBucketAclRequest.Builder extends S3Request.Builder, CopyableBuilder<PutBucketAclRequest.Builder,PutBucketAclRequest>
Modifier and Type | Method and Description |
---|---|
PutBucketAclRequest.Builder |
accessControlPolicy(AccessControlPolicy accessControlPolicy)
Sets the value of the AccessControlPolicy property for this object.
|
default PutBucketAclRequest.Builder |
accessControlPolicy(Consumer<AccessControlPolicy.Builder> accessControlPolicy)
Sets the value of the AccessControlPolicy property for this object.
|
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)
Sets the value of the Bucket property for this object.
|
PutBucketAclRequest.Builder |
contentMD5(String contentMD5)
Sets the value of the ContentMD5 property for this object.
|
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)
Add an optional request override configuration.
|
PutBucketAclRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
PutBucketAclRequest.Builder acl(String acl)
acl
- The canned ACL to apply to the bucket.BucketCannedACL
,
BucketCannedACL
PutBucketAclRequest.Builder acl(BucketCannedACL acl)
acl
- The canned ACL to apply to the bucket.BucketCannedACL
,
BucketCannedACL
PutBucketAclRequest.Builder accessControlPolicy(AccessControlPolicy accessControlPolicy)
accessControlPolicy
- The new value for the AccessControlPolicy property for this object.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
- The new value for the Bucket property for this object.PutBucketAclRequest.Builder contentMD5(String contentMD5)
contentMD5
- The new value for the ContentMD5 property for this object.PutBucketAclRequest.Builder grantFullControl(String grantFullControl)
grantFullControl
- Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.PutBucketAclRequest.Builder grantRead(String grantRead)
grantRead
- Allows grantee to list the objects in the bucket.PutBucketAclRequest.Builder grantReadACP(String grantReadACP)
grantReadACP
- Allows grantee to read the bucket ACL.PutBucketAclRequest.Builder grantWrite(String grantWrite)
grantWrite
- Allows grantee to create, overwrite, and delete any object in the bucket.PutBucketAclRequest.Builder grantWriteACP(String grantWriteACP)
grantWriteACP
- Allows grantee to write the ACL for the applicable bucket.PutBucketAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutBucketAclRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.