Interface UpdateThingGroupsForThingRequest.Builder

    • Method Detail

      • thingName

        UpdateThingGroupsForThingRequest.Builder thingName​(String thingName)

        The thing whose group memberships will be updated.

        Parameters:
        thingName - The thing whose group memberships will be updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • thingGroupsToAdd

        UpdateThingGroupsForThingRequest.Builder thingGroupsToAdd​(Collection<String> thingGroupsToAdd)

        The groups to which the thing will be added.

        Parameters:
        thingGroupsToAdd - The groups to which the thing will be added.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • thingGroupsToAdd

        UpdateThingGroupsForThingRequest.Builder thingGroupsToAdd​(String... thingGroupsToAdd)

        The groups to which the thing will be added.

        Parameters:
        thingGroupsToAdd - The groups to which the thing will be added.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • thingGroupsToRemove

        UpdateThingGroupsForThingRequest.Builder thingGroupsToRemove​(Collection<String> thingGroupsToRemove)

        The groups from which the thing will be removed.

        Parameters:
        thingGroupsToRemove - The groups from which the thing will be removed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • thingGroupsToRemove

        UpdateThingGroupsForThingRequest.Builder thingGroupsToRemove​(String... thingGroupsToRemove)

        The groups from which the thing will be removed.

        Parameters:
        thingGroupsToRemove - The groups from which the thing will be removed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • overrideDynamicGroups

        UpdateThingGroupsForThingRequest.Builder overrideDynamicGroups​(Boolean overrideDynamicGroups)

        Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.

        Parameters:
        overrideDynamicGroups - Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.