Interface PutEncryptionConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutEncryptionConfigRequest.Builder,
,PutEncryptionConfigRequest> SdkBuilder<PutEncryptionConfigRequest.Builder,
,PutEncryptionConfigRequest> SdkPojo
,SdkRequest.Builder
,XRayRequest.Builder
- Enclosing class:
PutEncryptionConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionAn Amazon Web Services KMS key in one of the following formats:overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The type of encryption.type
(EncryptionType type) The type of encryption.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.xray.model.XRayRequest.Builder
build
-
Method Details
-
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
toNONE
.- Parameters:
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
toNONE
.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
type
The type of encryption. Set to
KMS
to use your own key for encryption. Set toNONE
for default encryption.- Parameters:
type
- The type of encryption. Set toKMS
to use your own key for encryption. Set toNONE
for default encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of encryption. Set to
KMS
to use your own key for encryption. Set toNONE
for default encryption.- Parameters:
type
- The type of encryption. Set toKMS
to use your own key for encryption. Set toNONE
for default encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutEncryptionConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutEncryptionConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-