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 or aws:kms.

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

        Encryption.Builder encryptionType​(EncryptionType encryptionType)

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

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

        Encryption.Builder kmsKeyId​(String kmsKeyId)

        The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.

        Parameters:
        kmsKeyId - The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsContext

        Encryption.Builder kmsContext​(String kmsContext)

        Optional. If the encryption type is aws:kms, you can use this value to specify the encryption context for the job results.

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