Interface S3EncryptionConfiguration.Builder

  • Method Details

    • objectEncryptionType

      S3EncryptionConfiguration.Builder objectEncryptionType(String objectEncryptionType)

      The Amazon S3 object encryption type.

      To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.

      Parameters:
      objectEncryptionType - The Amazon S3 object encryption type.

      To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.

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

      S3EncryptionConfiguration.Builder objectEncryptionType(S3ObjectEncryptionType objectEncryptionType)

      The Amazon S3 object encryption type.

      To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.

      Parameters:
      objectEncryptionType - The Amazon S3 object encryption type.

      To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.

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

      The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.

      You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.

      KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.

      Parameters:
      kmsKeyArn - The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.

      You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.

      KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.

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