public static interface PutBucketReplicationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketReplicationRequest.Builder,PutBucketReplicationRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutBucketReplicationRequest.Builder bucket(String bucket)
The name of the bucket
bucket
- The name of the bucketPutBucketReplicationRequest.Builder contentMD5(String contentMD5)
The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.
contentMD5
- The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity
check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.PutBucketReplicationRequest.Builder replicationConfiguration(ReplicationConfiguration replicationConfiguration)
replicationConfiguration
- The new value for the ReplicationConfiguration property for this object.default PutBucketReplicationRequest.Builder replicationConfiguration(Consumer<ReplicationConfiguration.Builder> replicationConfiguration)
ReplicationConfiguration.Builder
avoiding the
need to create one manually via ReplicationConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to replicationConfiguration(ReplicationConfiguration)
.replicationConfiguration
- a consumer that will call methods on ReplicationConfiguration.Builder
replicationConfiguration(ReplicationConfiguration)
PutBucketReplicationRequest.Builder token(String token)
token
- PutBucketReplicationRequest.Builder expectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner. If the bucket is owned by a different account, the request will
fail with an HTTP 403 (Access Denied)
error.
expectedBucketOwner
- The account id of the expected bucket owner. If the bucket is owned by a different account, the
request will fail with an HTTP 403 (Access Denied)
error.PutBucketReplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PutBucketReplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.