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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
TypetoNONE.- 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
TypetoNONE.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
type
The type of encryption. Set to
KMSto use your own key for encryption. Set toNONEfor default encryption.- Parameters:
type- The type of encryption. Set toKMSto use your own key for encryption. Set toNONEfor 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
KMSto use your own key for encryption. Set toNONEfor default encryption.- Parameters:
type- The type of encryption. Set toKMSto use your own key for encryption. Set toNONEfor 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-