Interface AddThingToThingGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddThingToThingGroupRequest.Builder,
,AddThingToThingGroupRequest> IotRequest.Builder
,SdkBuilder<AddThingToThingGroupRequest.Builder,
,AddThingToThingGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddThingToThingGroupRequest
public static interface AddThingToThingGroupRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<AddThingToThingGroupRequest.Builder,AddThingToThingGroupRequest>
-
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.The ARN of the thing to add to a group.thingGroupArn
(String thingGroupArn) The ARN of the group to which you are adding a thing.thingGroupName
(String thingGroupName) The name of the group to which you are adding a thing.The name of the thing to add to a group.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 Details
-
thingGroupName
The name of the group to which you are adding a thing.
- Parameters:
thingGroupName
- The name of the group to which you are adding a thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroupArn
The ARN of the group to which you are adding a thing.
- Parameters:
thingGroupArn
- The ARN of the group to which you are adding a thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingName
The name of the thing to add to a group.
- Parameters:
thingName
- The name of the thing to add to a group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingArn
The ARN of the thing to add to a group.
- Parameters:
thingArn
- The ARN of the thing to add to a group.- 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
AddThingToThingGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddThingToThingGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-