Interface S3EncryptionConfig.Builder

  • Method Details

    • encryptionMode

      S3EncryptionConfig.Builder encryptionMode(String encryptionMode)

      The encryption method to use for artifacts created by this canary. Specify SSE_S3 to use server-side encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to use server-side encryption with a customer-managed KMS key.

      If you omit this parameter, an Amazon Web Services-managed KMS key is used.

      Parameters:
      encryptionMode - The encryption method to use for artifacts created by this canary. Specify SSE_S3 to use server-side encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to use server-side encryption with a customer-managed KMS key.

      If you omit this parameter, an Amazon Web Services-managed KMS key is used.

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

      S3EncryptionConfig.Builder encryptionMode(EncryptionMode encryptionMode)

      The encryption method to use for artifacts created by this canary. Specify SSE_S3 to use server-side encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to use server-side encryption with a customer-managed KMS key.

      If you omit this parameter, an Amazon Web Services-managed KMS key is used.

      Parameters:
      encryptionMode - The encryption method to use for artifacts created by this canary. Specify SSE_S3 to use server-side encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to use server-side encryption with a customer-managed KMS key.

      If you omit this parameter, an Amazon Web Services-managed KMS key is used.

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

      S3EncryptionConfig.Builder kmsKeyArn(String kmsKeyArn)

      The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for EncryptionMode

      Parameters:
      kmsKeyArn - The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for EncryptionMode
      Returns:
      Returns a reference to this object so that method calls can be chained together.