public DeriveSharedSecretRequest withKeyAgreementAlgorithm(KeyAgreementAlgorithmSpec keyAgreementAlgorithm) {
        this.keyAgreementAlgorithm = keyAgreementAlgorithm.toString();
        return this;
    }
<p>
Specifies the key agreement algorithm used to derive the shared secret. The only valid value is <code>ECDH</code>
.
</p>

@param keyAgreementAlgorithm
       Specifies the key agreement algorithm used to derive the shared secret. The only valid value is
       <code>ECDH</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see KeyAgreementAlgorithmSpec
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/DeriveSharedSecretRequest.java