public static interface PutBucketEncryptionRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketEncryptionRequest.Builder,PutBucketEncryptionRequest>
Modifier and Type | Method and Description |
---|---|
PutBucketEncryptionRequest.Builder |
bucket(String bucket)
Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3)
or customer master keys stored in AWS KMS (SSE-KMS).
|
PutBucketEncryptionRequest.Builder |
contentMD5(String contentMD5)
The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.
|
PutBucketEncryptionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutBucketEncryptionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutBucketEncryptionRequest.Builder bucket(String bucket)
Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS (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 customer master keys stored in AWS KMS (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
- 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.