public ListCrossAccountResourcesResult withCrossAccountResources(CrossAccountResource... crossAccountResources) {
        if (this.crossAccountResources == null) {
            setCrossAccountResources(new java.util.ArrayList<CrossAccountResource>(crossAccountResources.length));
        }
        for (CrossAccountResource ele : crossAccountResources) {
            this.crossAccountResources.add(ele);
        }
        return this;
    }
<p>
The cross-account resources used with an accelerator.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCrossAccountResources(java.util.Collection)} or
{@link #withCrossAccountResources(java.util.Collection)} if you want to override the existing values.
</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