public UpdateAgreementRequest withLocalProfileId(String localProfileId) {
        setLocalProfileId(localProfileId);
        return this;
    }
<p>
A unique identifier for the AS2 local profile.
</p>
<p>
To change the local profile identifier, provide a new value here.
</p>

@param localProfileId
       A unique identifier for the AS2 local profile.</p>
       <p>
       To change the local profile identifier, provide a new value here.
@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