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
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.overrideDynamicGroups(Boolean overrideDynamicGroups) Override dynamic thing groups with static thing groups when 10-group limit is reached.thingGroupsToAdd(String... thingGroupsToAdd) The groups to which the thing will be added.thingGroupsToAdd(Collection<String> thingGroupsToAdd) The groups to which the thing will be added.thingGroupsToRemove(String... thingGroupsToRemove) The groups from which the thing will be removed.thingGroupsToRemove(Collection<String> thingGroupsToRemove) The groups from which the thing will be removed.The thing whose group memberships will be updated.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateThingGroupsForThingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-