public UpdateThingGroupsForThingRequest withThingGroupsToAdd(java.util.Collection<String> thingGroupsToAdd) {
        setThingGroupsToAdd(thingGroupsToAdd);
        return this;
    }
<p>
The groups to which the thing will be added.
</p>

@param thingGroupsToAdd
       The groups to which the thing will be added.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/UpdateThingGroupsForThingRequest.java