Interface EncryptionSpecification.Builder

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