public void setThingGroupsToAdd(java.util.Collection<String> thingGroupsToAdd) {
        if (thingGroupsToAdd == null) {
            this.thingGroupsToAdd = null;
            return;
        }

        this.thingGroupsToAdd = new java.util.ArrayList<String>(thingGroupsToAdd);
    }
<p>
The groups to which the thing will be added.
</p>

@param thingGroupsToAdd
       The groups to which the thing will be added.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/UpdateThingGroupsForThingRequest.java