Interface Encryption.Builder

    • Method Detail

      • encryptionType

        Encryption.Builder encryptionType​(String encryptionType)

        The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).

        Parameters:
        encryptionType - The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ServerSideEncryption, ServerSideEncryption
      • encryptionType

        Encryption.Builder encryptionType​(ServerSideEncryption encryptionType)

        The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).

        Parameters:
        encryptionType - The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ServerSideEncryption, ServerSideEncryption
      • kmsKeyId

        Encryption.Builder kmsKeyId​(String kmsKeyId)

        If the encryption type is aws:kms, this optional value specifies the ID of the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in KMS in the Amazon Web Services Key Management Service Developer Guide.

        Parameters:
        kmsKeyId - If the encryption type is aws:kms, this optional value specifies the ID of the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in KMS in the Amazon Web Services Key Management Service Developer Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsContext

        Encryption.Builder kmsContext​(String kmsContext)

        If the encryption type is aws:kms, this optional value can be used to specify the encryption context for the restore results.

        Parameters:
        kmsContext - If the encryption type is aws:kms, this optional value can be used to specify the encryption context for the restore results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.