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 Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
overrideConfiguration
UpdateThingGroupsForThingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateThingGroupsForThingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-