Interface EncryptResponse.Builder

    • Method Detail

      • ciphertextBlob

        EncryptResponse.Builder ciphertextBlob​(SdkBytes ciphertextBlob)

        The encrypted plaintext. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

        Parameters:
        ciphertextBlob - The encrypted plaintext. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyId

        EncryptResponse.Builder keyId​(String keyId)

        The Amazon Resource Name (key ARN) of the KMS key that was used to encrypt the plaintext.

        Parameters:
        keyId - The Amazon Resource Name (key ARN) of the KMS key that was used to encrypt the plaintext.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionAlgorithm

        EncryptResponse.Builder encryptionAlgorithm​(String encryptionAlgorithm)

        The encryption algorithm that was used to encrypt the plaintext.

        Parameters:
        encryptionAlgorithm - The encryption algorithm that was used to encrypt the plaintext.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EncryptionAlgorithmSpec, EncryptionAlgorithmSpec