public ListCrossAccountResourcesRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The number of cross-account resource objects that you want to return with this call. The default value is 10.
</p>

@param maxResults
       The number of cross-account resource objects that you want to return with this call. The default value is
       10.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/ListCrossAccountResourcesRequest.java