public DescribeAgreementResult withAgreement(DescribedAgreement agreement) {
        setAgreement(agreement);
        return this;
    }
<p>
The details for the specified agreement, returned as a <code>DescribedAgreement</code> object.
</p>

@param agreement
       The details for the specified agreement, returned as a <code>DescribedAgreement</code> object.
@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/DescribeAgreementResult.java