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.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/DescribeResourceGroupsResult.java