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 Amazon Web Services KMS key in one of the following formats:
|
PutEncryptionConfigRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutEncryptionConfigRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutEncryptionConfigRequest.Builder |
type(EncryptionType type)
The type of encryption.
|
PutEncryptionConfigRequest.Builder |
type(String type)
The type of encryption.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutEncryptionConfigRequest.Builder keyId(String keyId)
An Amazon Web Services KMS key 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.
Amazon Web Services X-Ray does not support asymmetric KMS keys.
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 Amazon Web Services KMS key 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. Amazon Web Services X-Ray does not support
asymmetric KMS keys.
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,
EncryptionTypePutEncryptionConfigRequest.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,
EncryptionTypePutEncryptionConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutEncryptionConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.