Interface ReEncryptResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ReEncryptResponse.Builder,ReEncryptResponse>, KmsResponse.Builder, SdkBuilder<ReEncryptResponse.Builder,ReEncryptResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ReEncryptResponse

public static interface ReEncryptResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<ReEncryptResponse.Builder,ReEncryptResponse>
  • Method Details

    • 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

      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:
    • 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:
    • 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:
    • destinationEncryptionAlgorithm

      ReEncryptResponse.Builder destinationEncryptionAlgorithm(EncryptionAlgorithmSpec 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: