public static interface PutBucketReplicationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketReplicationRequest.Builder,PutBucketReplicationRequest>
Modifier and Type | Method and Description |
---|---|
PutBucketReplicationRequest.Builder |
bucket(String bucket)
The name of the bucket
|
PutBucketReplicationRequest.Builder |
contentMD5(String contentMD5)
The base64-encoded 128-bit MD5 digest of the data.
|
PutBucketReplicationRequest.Builder |
expectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
PutBucketReplicationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutBucketReplicationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default PutBucketReplicationRequest.Builder |
replicationConfiguration(Consumer<ReplicationConfiguration.Builder> replicationConfiguration)
Sets the value of the ReplicationConfiguration property for this object.
|
PutBucketReplicationRequest.Builder |
replicationConfiguration(ReplicationConfiguration replicationConfiguration)
Sets the value of the ReplicationConfiguration property for this object.
|
PutBucketReplicationRequest.Builder |
token(String token)
A token to allow Object Lock to be enabled for an existing bucket.
|
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.
For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.
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.
For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.
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)
A token to allow Object Lock to be enabled for an existing bucket.
token
- A token to allow Object Lock to be enabled for an existing bucket.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)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutBucketReplicationRequest.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 © 2021 Amazon Web Services, Inc. All Rights Reserved.