public UpdateAgreementRequest withAgreementId(String agreementId) {
        setAgreementId(agreementId);
        return this;
    }
<p>
A unique identifier for the agreement. This identifier is returned when you create an agreement.
</p>

@param agreementId
       A unique identifier for the agreement. This identifier is returned when you create an agreement.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/UpdateAgreementRequest.java