public ListLFTagsRequest withResourceShareType(String resourceShareType) {
        setResourceShareType(resourceShareType);
        return this;
    }
<p>
If resource share type is <code>ALL</code>, returns both in-account LF-tags and shared LF-tags that the requester
has permission to view. If resource share type is <code>FOREIGN</code>, returns all share LF-tags that the
requester can view. If no resource share type is passed, lists LF-tags in the given catalog ID that the requester
has permission to view.
</p>

@param resourceShareType
       If resource share type is <code>ALL</code>, returns both in-account LF-tags and shared LF-tags that the
       requester has permission to view. If resource share type is <code>FOREIGN</code>, returns all share
       LF-tags that the requester can view. If no resource share type is passed, lists LF-tags in the given
       catalog ID that the requester has permission to view.
@return Returns a reference to this object so that method calls can be chained together.
@see ResourceShareType
aws-java-sdk-lakeformation/src/main/java/com/amazonaws/services/lakeformation/model/ListLFTagsRequest.java