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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionConfiguration.BuilderkeyType(String keyType)The type of KMS key used for encryption.EncryptionConfiguration.BuilderkeyType(KmsKeyType keyType)The type of KMS key used for encryption.EncryptionConfiguration.BuilderkmsKeyArn(String kmsKeyArn)The ARN of the KMS key used to encrypt data.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
keyType
EncryptionConfiguration.Builder keyType(String keyType)
The type of KMS key used for encryption.
- Parameters:
keyType- The type of KMS key used for encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KmsKeyType,KmsKeyType
-
keyType
EncryptionConfiguration.Builder keyType(KmsKeyType keyType)
The type of KMS key used for encryption.
- Parameters:
keyType- The type of KMS key used for encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KmsKeyType,KmsKeyType
-
kmsKeyArn
EncryptionConfiguration.Builder kmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt data. Required when KeyType is CUSTOMER_MANAGED_KEY. Cannot be specified when KeyType is AWS_OWNED_KMS_KEY.
- Parameters:
kmsKeyArn- The ARN of the KMS key used to encrypt data. Required when KeyType is CUSTOMER_MANAGED_KEY. Cannot be specified when KeyType is AWS_OWNED_KMS_KEY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-