public void setCrossAccountResources(java.util.Collection<CrossAccountResource> crossAccountResources) {
        if (crossAccountResources == null) {
            this.crossAccountResources = null;
            return;
        }

        this.crossAccountResources = new java.util.ArrayList<CrossAccountResource>(crossAccountResources);
    }
<p>
The cross-account resources used with an accelerator.
</p>

@param crossAccountResources
       The cross-account resources used with an accelerator.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/ListCrossAccountResourcesResult.java