Interface EncryptResponse.Builder

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

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

    • 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

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

      EncryptResponse.Builder encryptionAlgorithm(EncryptionAlgorithmSpec 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: