Interface EncryptionConfig.Builder

  • Method Details

    • encryptionMode

      EncryptionConfig.Builder encryptionMode(String encryptionMode)

      How the agent context's stored data is encrypted. Always present on the resource.

      Valid values:

      • AWS_OWNED - Encrypted with an AWS owned key.

      • CUSTOMER_MANAGED - Encrypted with the AWS KMS customer managed key that keyArn specifies.

      Parameters:
      encryptionMode - How the agent context's stored data is encrypted. Always present on the resource.

      Valid values:

      • AWS_OWNED - Encrypted with an AWS owned key.

      • CUSTOMER_MANAGED - Encrypted with the AWS KMS customer managed key that keyArn specifies.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionMode

      EncryptionConfig.Builder encryptionMode(EncryptionMode encryptionMode)

      How the agent context's stored data is encrypted. Always present on the resource.

      Valid values:

      • AWS_OWNED - Encrypted with an AWS owned key.

      • CUSTOMER_MANAGED - Encrypted with the AWS KMS customer managed key that keyArn specifies.

      Parameters:
      encryptionMode - How the agent context's stored data is encrypted. Always present on the resource.

      Valid values:

      • AWS_OWNED - Encrypted with an AWS owned key.

      • CUSTOMER_MANAGED - Encrypted with the AWS KMS customer managed key that keyArn specifies.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • keyArn

      The ARN of the AWS KMS customer managed key that encrypts the agent context when encryptionMode is CUSTOMER_MANAGED. Absent for AWS_OWNED.

      Parameters:
      keyArn - The ARN of the AWS KMS customer managed key that encrypts the agent context when encryptionMode is CUSTOMER_MANAGED. Absent for AWS_OWNED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.