Interface EncryptionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionConfiguration.Builder,,EncryptionConfiguration> SdkBuilder<EncryptionConfiguration.Builder,,EncryptionConfiguration> SdkPojo
- Enclosing class:
EncryptionConfiguration
@Mutable
@NotThreadSafe
public static interface EncryptionConfiguration.Builder
extends SdkPojo, CopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID or ARN of the Amazon Web Services KMS key to use for encryption.The type of encryption to use.type(EncryptionType type) The type of encryption 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
-
type
The type of encryption to use. Values are
AWS_MANAGED_KEY(Amazon Web Services manages the encryption key) orCUSTOMER_MANAGED_KEY(you provide a KMS key).- Parameters:
type- The type of encryption to use. Values areAWS_MANAGED_KEY(Amazon Web Services manages the encryption key) orCUSTOMER_MANAGED_KEY(you provide a KMS key).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of encryption to use. Values are
AWS_MANAGED_KEY(Amazon Web Services manages the encryption key) orCUSTOMER_MANAGED_KEY(you provide a KMS key).- Parameters:
type- The type of encryption to use. Values areAWS_MANAGED_KEY(Amazon Web Services manages the encryption key) orCUSTOMER_MANAGED_KEY(you provide a KMS key).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyId
The ID or ARN of the Amazon Web Services KMS key to use for encryption. Required when
TypeisCUSTOMER_MANAGED_KEY.- Parameters:
kmsKeyId- The ID or ARN of the Amazon Web Services KMS key to use for encryption. Required whenTypeisCUSTOMER_MANAGED_KEY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-