Interface EncryptionConfiguration.Builder

  • Method Details

    • encryptionStrategy

      EncryptionConfiguration.Builder encryptionStrategy(String encryptionStrategy)

      Which kind of key to use. Required.

      Parameters:
      encryptionStrategy - Which kind of key to use. Required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionStrategy

      EncryptionConfiguration.Builder encryptionStrategy(EncryptionStrategy encryptionStrategy)

      Which kind of key to use. Required.

      Parameters:
      encryptionStrategy - Which kind of key to use. Required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • kmsKeyArn

      Customer managed KMS key ARN. Required when encryptionStrategy is CUSTOMER_MANAGED, and must be omitted when it is AWS_OWNED. Must be a symmetric ENCRYPT_DECRYPT key in the caller's account and region.

      Parameters:
      kmsKeyArn - Customer managed KMS key ARN. Required when encryptionStrategy is CUSTOMER_MANAGED, and must be omitted when it is AWS_OWNED. Must be a symmetric ENCRYPT_DECRYPT key in the caller's account and region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.