public static interface PutBucketPolicyRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketPolicyRequest.Builder,PutBucketPolicyRequest>
Modifier and Type | Method and Description |
---|---|
PutBucketPolicyRequest.Builder |
bucket(String bucket)
The name of the bucket.
|
PutBucketPolicyRequest.Builder |
confirmRemoveSelfBucketAccess(Boolean confirmRemoveSelfBucketAccess)
Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy
in the future.
|
PutBucketPolicyRequest.Builder |
contentMD5(String contentMD5)
The MD5 hash of the request body.
|
PutBucketPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutBucketPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutBucketPolicyRequest.Builder |
policy(String policy)
The bucket policy as a JSON document.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutBucketPolicyRequest.Builder bucket(String bucket)
The name of the bucket.
bucket
- The name of the bucket.PutBucketPolicyRequest.Builder contentMD5(String contentMD5)
The MD5 hash of the request body.
contentMD5
- The MD5 hash of the request body.PutBucketPolicyRequest.Builder confirmRemoveSelfBucketAccess(Boolean confirmRemoveSelfBucketAccess)
Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.
confirmRemoveSelfBucketAccess
- Set this parameter to true to confirm that you want to remove your permissions to change this bucket
policy in the future.PutBucketPolicyRequest.Builder policy(String policy)
The bucket policy as a JSON document.
policy
- The bucket policy as a JSON document.PutBucketPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PutBucketPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.