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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutBucketReplicationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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)
|
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 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.