public ListShareInvitationsRequest withShareResourceType(ShareResourceType shareResourceType) {
        this.shareResourceType = shareResourceType.toString();
        return this;
    }
<p>
The type of share invitations to be returned.
</p>

@param shareResourceType
       The type of share invitations to be returned.
@return Returns a reference to this object so that method calls can be chained together.
@see ShareResourceType
aws-java-sdk-wellarchitected/src/main/java/com/amazonaws/services/wellarchitected/model/ListShareInvitationsRequest.java