public ShareDirectoryRequest withShareNotes(String shareNotes) {
        setShareNotes(shareNotes);
        return this;
    }
<p>
A directory share request that is sent by the directory owner to the directory consumer. The request includes a
typed message to help the directory consumer administrator determine whether to approve or reject the share
invitation.
</p>

@param shareNotes
       A directory share request that is sent by the directory owner to the directory consumer. The request
       includes a typed message to help the directory consumer administrator determine whether to approve or
       reject the share invitation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/ShareDirectoryRequest.java