public ListCrossAccountResourcesResult withCrossAccountResources(java.util.Collection<CrossAccountResource> crossAccountResources) {
        setCrossAccountResources(crossAccountResources);
        return this;
    }
<p>
The cross-account resources used with an accelerator.
</p>

@param crossAccountResources
       The cross-account resources used with an accelerator.
@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/ListCrossAccountResourcesResult.java