public static interface PutBucketEncryptionRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketEncryptionRequest.Builder,PutBucketEncryptionRequest>
Modifier and Type | Method and Description |
---|---|
PutBucketEncryptionRequest.Builder |
bucket(String bucket)
The name of the bucket for which the server-side encryption configuration is set.
|
PutBucketEncryptionRequest.Builder |
contentMD5(String contentMD5)
The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.
|
PutBucketEncryptionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutBucketEncryptionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default PutBucketEncryptionRequest.Builder |
serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration)
Sets the value of the ServerSideEncryptionConfiguration property for this object.
|
PutBucketEncryptionRequest.Builder |
serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
Sets the value of the ServerSideEncryptionConfiguration property for this object.
|
build
overrideConfiguration
copy
applyMutation, build
PutBucketEncryptionRequest.Builder bucket(String bucket)
The name of the bucket for which the server-side encryption configuration is set.
bucket
- The name of the bucket for which the server-side encryption configuration is set.PutBucketEncryptionRequest.Builder contentMD5(String contentMD5)
The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.
contentMD5
- The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.PutBucketEncryptionRequest.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
serverSideEncryptionConfiguration
- The new value for the ServerSideEncryptionConfiguration property for this object.default PutBucketEncryptionRequest.Builder serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration)
ServerSideEncryptionConfiguration.Builder
avoiding the need to create one manually via ServerSideEncryptionConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration)
.serverSideEncryptionConfiguration
- a consumer that will call methods on ServerSideEncryptionConfiguration.Builder
serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration)
PutBucketEncryptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutBucketEncryptionRequest.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.