Interface EncryptionKeyConfigurationInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionKeyConfigurationInput.Builder,,EncryptionKeyConfigurationInput> SdkBuilder<EncryptionKeyConfigurationInput.Builder,,EncryptionKeyConfigurationInput> SdkPojo
- Enclosing class:
EncryptionKeyConfigurationInput
@Mutable
@NotThreadSafe
public static interface EncryptionKeyConfigurationInput.Builder
extends SdkPojo, CopyableBuilder<EncryptionKeyConfigurationInput.Builder,EncryptionKeyConfigurationInput>
-
Method Summary
Modifier and TypeMethodDescriptionawsEncryptionKey(Consumer<AwsEncryptionKeyConfigurationInput.Builder> awsEncryptionKey) The configuration of the Amazon Web Services Key Management Service (KMS) encryption key to use.awsEncryptionKey(AwsEncryptionKeyConfigurationInput awsEncryptionKey) The configuration of the Amazon Web Services Key Management Service (KMS) encryption key to use.Methods 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, sdkFields
-
Method Details
-
awsEncryptionKey
EncryptionKeyConfigurationInput.Builder awsEncryptionKey(AwsEncryptionKeyConfigurationInput awsEncryptionKey) The configuration of the Amazon Web Services Key Management Service (KMS) encryption key to use.
- Parameters:
awsEncryptionKey- The configuration of the Amazon Web Services Key Management Service (KMS) encryption key to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsEncryptionKey
default EncryptionKeyConfigurationInput.Builder awsEncryptionKey(Consumer<AwsEncryptionKeyConfigurationInput.Builder> awsEncryptionKey) The configuration of the Amazon Web Services Key Management Service (KMS) encryption key to use.
This is a convenience method that creates an instance of theAwsEncryptionKeyConfigurationInput.Builderavoiding the need to create one manually viaAwsEncryptionKeyConfigurationInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsEncryptionKey(AwsEncryptionKeyConfigurationInput).- Parameters:
awsEncryptionKey- a consumer that will call methods onAwsEncryptionKeyConfigurationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-