public UpdateThingGroupsForThingRequest withThingGroupsToRemove(java.util.Collection<String> thingGroupsToRemove) {
        setThingGroupsToRemove(thingGroupsToRemove);
        return this;
    }
<p>
The groups from which the thing will be removed.
</p>

@param thingGroupsToRemove
       The groups from which the thing will be removed.
@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