public AcceptShareRequest withShareId(String shareId) {
        setShareId(shareId);
        return this;
    }
<p>
The ID of the resource share.
</p>

@param shareId
       The ID of the resource share.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-omics/src/main/java/com/amazonaws/services/omics/model/AcceptShareRequest.java