Interface EncryptionConfiguration.Builder

  • Method Details

    • type

      The type of encryption to use. Values are AWS_MANAGED_KEY (Amazon Web Services manages the encryption key) or CUSTOMER_MANAGED_KEY (you provide a KMS key).

      Parameters:
      type - The type of encryption to use. Values are AWS_MANAGED_KEY (Amazon Web Services manages the encryption key) or CUSTOMER_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) or CUSTOMER_MANAGED_KEY (you provide a KMS key).

      Parameters:
      type - The type of encryption to use. Values are AWS_MANAGED_KEY (Amazon Web Services manages the encryption key) or CUSTOMER_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 Type is CUSTOMER_MANAGED_KEY.

      Parameters:
      kmsKeyId - The ID or ARN of the Amazon Web Services KMS key to use for encryption. Required when Type is CUSTOMER_MANAGED_KEY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.