public DecryptResult withEncryptionAlgorithm(EncryptionAlgorithmSpec encryptionAlgorithm) {
        this.encryptionAlgorithm = encryptionAlgorithm.toString();
        return this;
    }
<p>
The encryption algorithm that was used to decrypt the ciphertext.
</p>

@param encryptionAlgorithm
       The encryption algorithm that was used to decrypt the ciphertext.
@return Returns a reference to this object so that method calls can be chained together.
@see EncryptionAlgorithmSpec
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/DecryptResult.java