public ListResourcesRequest withResourceShareArns(java.util.Collection<String> resourceShareArns) {
        setResourceShareArns(resourceShareArns);
        return this;
    }
<p>
Specifies that you want to list only resources in the resource shares identified by the specified <a
href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names
(ARNs)</a>.
</p>

@param resourceShareArns
       Specifies that you want to list only resources in the resource shares identified by the specified <a
       href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names
       (ARNs)</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/ListResourcesRequest.java