Interface EncryptionSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionSpecification.Builder,EncryptionSpecification>,SdkBuilder<EncryptionSpecification.Builder,EncryptionSpecification>,SdkPojo
- Enclosing class:
- EncryptionSpecification
public static interface EncryptionSpecification.Builder extends SdkPojo, CopyableBuilder<EncryptionSpecification.Builder,EncryptionSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionSpecification.BuilderkmsKeyIdentifier(String kmsKeyIdentifier)The Amazon Resource Name (ARN) of the customer managed KMS key, for examplekms_key_identifier:ARN.EncryptionSpecification.Buildertype(String type)The encryption option specified for the table.EncryptionSpecification.Buildertype(EncryptionType type)The encryption option specified for the table.-
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
-
-
-
-
Method Detail
-
type
EncryptionSpecification.Builder type(String type)
The encryption option specified for the table. You can choose one of the following KMS keys (KMS keys):
-
type:AWS_OWNED_KMS_KEY- This key is owned by Amazon Keyspaces. -
type:CUSTOMER_MANAGED_KMS_KEY- This key is stored in your account and is created, owned, and managed by you. This option requires thekms_key_identifierof the KMS key in Amazon Resource Name (ARN) format as input.
The default is
type:AWS_OWNED_KMS_KEY.For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.
- Parameters:
type- The encryption option specified for the table. You can choose one of the following KMS keys (KMS keys):-
type:AWS_OWNED_KMS_KEY- This key is owned by Amazon Keyspaces. -
type:CUSTOMER_MANAGED_KMS_KEY- This key is stored in your account and is created, owned, and managed by you. This option requires thekms_key_identifierof the KMS key in Amazon Resource Name (ARN) format as input.
The default is
type:AWS_OWNED_KMS_KEY.For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType,EncryptionType
-
-
type
EncryptionSpecification.Builder type(EncryptionType type)
The encryption option specified for the table. You can choose one of the following KMS keys (KMS keys):
-
type:AWS_OWNED_KMS_KEY- This key is owned by Amazon Keyspaces. -
type:CUSTOMER_MANAGED_KMS_KEY- This key is stored in your account and is created, owned, and managed by you. This option requires thekms_key_identifierof the KMS key in Amazon Resource Name (ARN) format as input.
The default is
type:AWS_OWNED_KMS_KEY.For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.
- Parameters:
type- The encryption option specified for the table. You can choose one of the following KMS keys (KMS keys):-
type:AWS_OWNED_KMS_KEY- This key is owned by Amazon Keyspaces. -
type:CUSTOMER_MANAGED_KMS_KEY- This key is stored in your account and is created, owned, and managed by you. This option requires thekms_key_identifierof the KMS key in Amazon Resource Name (ARN) format as input.
The default is
type:AWS_OWNED_KMS_KEY.For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType,EncryptionType
-
-
kmsKeyIdentifier
EncryptionSpecification.Builder kmsKeyIdentifier(String kmsKeyIdentifier)
The Amazon Resource Name (ARN) of the customer managed KMS key, for example
kms_key_identifier:ARN.- Parameters:
kmsKeyIdentifier- The Amazon Resource Name (ARN) of the customer managed KMS key, for examplekms_key_identifier:ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-