Interface AddThingsToThingGroupParams.Builder

    • Method Detail

      • thingGroupNames

        AddThingsToThingGroupParams.Builder thingGroupNames​(Collection<String> thingGroupNames)

        The list of groups to which you want to add the things that triggered the mitigation action. You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy.

        Parameters:
        thingGroupNames - The list of groups to which you want to add the things that triggered the mitigation action. You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • thingGroupNames

        AddThingsToThingGroupParams.Builder thingGroupNames​(String... thingGroupNames)

        The list of groups to which you want to add the things that triggered the mitigation action. You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy.

        Parameters:
        thingGroupNames - The list of groups to which you want to add the things that triggered the mitigation action. You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • overrideDynamicGroups

        AddThingsToThingGroupParams.Builder overrideDynamicGroups​(Boolean overrideDynamicGroups)

        Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups.

        Parameters:
        overrideDynamicGroups - Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.