public static interface PutEncryptionConfigRequest.Builder extends XRayRequest.Builder, SdkPojo, CopyableBuilder<PutEncryptionConfigRequest.Builder,PutEncryptionConfigRequest>
Modifier and Type | Method and Description |
---|---|
PutEncryptionConfigRequest.Builder |
keyId(String keyId)
An AWS KMS customer master key (CMK) in one of the following formats:
|
PutEncryptionConfigRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutEncryptionConfigRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
PutEncryptionConfigRequest.Builder |
type(EncryptionType type)
The type of encryption.
|
PutEncryptionConfigRequest.Builder |
type(String type)
The type of encryption.
|
build
overrideConfiguration
copy
applyMutation, build
PutEncryptionConfigRequest.Builder keyId(String keyId)
An AWS KMS customer master key (CMK) in one of the following formats:
Alias - The name of the key. For example, alias/MyKey
.
Key ID - The KMS key ID of the key. For example, ae4aa6d49-a4d8-9df9-a475-4ff6d7898456
.
ARN - The full Amazon Resource Name of the key ID or alias. For example,
arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456
. Use this format to
specify a key in a different account.
Omit this key if you set Type
to NONE
.
keyId
- An AWS KMS customer master key (CMK) in one of the following formats:
Alias - The name of the key. For example, alias/MyKey
.
Key ID - The KMS key ID of the key. For example,
ae4aa6d49-a4d8-9df9-a475-4ff6d7898456
.
ARN - The full Amazon Resource Name of the key ID or alias. For example,
arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456
. Use this
format to specify a key in a different account.
Omit this key if you set Type
to NONE
.
PutEncryptionConfigRequest.Builder type(String type)
The type of encryption. Set to KMS
to use your own key for encryption. Set to NONE
for default encryption.
type
- The type of encryption. Set to KMS
to use your own key for encryption. Set to
NONE
for default encryption.EncryptionType
,
EncryptionType
PutEncryptionConfigRequest.Builder type(EncryptionType type)
The type of encryption. Set to KMS
to use your own key for encryption. Set to NONE
for default encryption.
type
- The type of encryption. Set to KMS
to use your own key for encryption. Set to
NONE
for default encryption.EncryptionType
,
EncryptionType
PutEncryptionConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutEncryptionConfigRequest.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.