public static interface PutBucketEncryptionRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketEncryptionRequest.Builder,PutBucketEncryptionRequest>
buildoverrideConfigurationcopyapplyMutation, buildPutBucketEncryptionRequest.Builder bucket(String bucket)
Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3) or AWS KMS-managed keys (SSE-KMS). For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the Amazon Simple Storage Service Developer Guide.
bucket - Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys
(SSE-S3) or AWS KMS-managed keys (SSE-KMS). For information about the Amazon S3 default encryption
feature, see Amazon
S3 Default Bucket Encryption in the Amazon Simple Storage Service Developer Guide.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 CLI.PutBucketEncryptionRequest.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
serverSideEncryptionConfiguration - 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.BuilderserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration)PutBucketEncryptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutBucketEncryptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.