public void setResourceGroups(java.util.Collection<ResourceGroup> resourceGroups) {
        if (resourceGroups == null) {
            this.resourceGroups = null;
            return;
        }

        this.resourceGroups = new java.util.ArrayList<ResourceGroup>(resourceGroups);
    }
public void setResourceGroups ( java . util . Collection < ResourceGroup > resourceGroups ) { if ( resourceGroups == null ) { this . resourceGroups = null ; return ; } this . resourceGroups = new java . util . ArrayList < ResourceGroup > ( resourceGroups ) ; }
<p>
Information about a resource group.
</p>

@param resourceGroups
Information about a resource group.