public static interface PutBucketEncryptionRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketEncryptionRequest.Builder,PutBucketEncryptionRequest>
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. This parameter is auto-populated when using the command from the CLI
contentMD5
- The base64-encoded 128-bit MD5 digest of the server-side encryption configuration. This parameter is
auto-populated when using the command from the CLIPutBucketEncryptionRequest.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)
overrideConfiguration
in interface AwsRequest.Builder
PutBucketEncryptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.