Interface ReEncryptResponse.Builder

    • Method Detail

      • ciphertextBlob

        ReEncryptResponse.Builder ciphertextBlob​(SdkBytes ciphertextBlob)

        The reencrypted data. 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 reencrypted data. 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.
      • sourceKeyId

        ReEncryptResponse.Builder sourceKeyId​(String sourceKeyId)

        Unique identifier of the KMS key used to originally encrypt the data.

        Parameters:
        sourceKeyId - Unique identifier of the KMS key used to originally encrypt the data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyId

        ReEncryptResponse.Builder keyId​(String keyId)

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

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

        ReEncryptResponse.Builder sourceEncryptionAlgorithm​(String sourceEncryptionAlgorithm)

        The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.

        Parameters:
        sourceEncryptionAlgorithm - The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EncryptionAlgorithmSpec, EncryptionAlgorithmSpec
      • sourceEncryptionAlgorithm

        ReEncryptResponse.Builder sourceEncryptionAlgorithm​(EncryptionAlgorithmSpec sourceEncryptionAlgorithm)

        The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.

        Parameters:
        sourceEncryptionAlgorithm - The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EncryptionAlgorithmSpec, EncryptionAlgorithmSpec
      • destinationEncryptionAlgorithm

        ReEncryptResponse.Builder destinationEncryptionAlgorithm​(String destinationEncryptionAlgorithm)

        The encryption algorithm that was used to reencrypt the data.

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