Interface UpdateThingGroupsForThingRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateThingGroupsForThingRequest.Builder,UpdateThingGroupsForThingRequest>, IotRequest.Builder, SdkBuilder<UpdateThingGroupsForThingRequest.Builder,UpdateThingGroupsForThingRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateThingGroupsForThingRequest

public static interface UpdateThingGroupsForThingRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateThingGroupsForThingRequest.Builder,UpdateThingGroupsForThingRequest>
  • Method Details

    • 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.
    • overrideConfiguration

      UpdateThingGroupsForThingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.