public void setTargetGroups(java.util.Collection<DBProxyTargetGroup> targetGroups) {
        if (targetGroups == null) {
            this.targetGroups = null;
            return;
        }

        this.targetGroups = new com.amazonaws.internal.SdkInternalList<DBProxyTargetGroup>(targetGroups);
    }
<p>
An arbitrary number of <code>DBProxyTargetGroup</code> objects, containing details of the corresponding target
groups.
</p>

@param targetGroups
       An arbitrary number of <code>DBProxyTargetGroup</code> objects, containing details of the corresponding
       target groups.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/DescribeDBProxyTargetGroupsResult.java