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 Details

    • 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 the kms_key_identifier of 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 the kms_key_identifier of 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:
    • 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 the kms_key_identifier of 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 the kms_key_identifier of 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:
    • 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 example kms_key_identifier:ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.