Interface ListThingGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListThingGroupsResponse.Builder,
,ListThingGroupsResponse> IotResponse.Builder
,SdkBuilder<ListThingGroupsResponse.Builder,
,ListThingGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListThingGroupsResponse
public static interface ListThingGroupsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListThingGroupsResponse.Builder,ListThingGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to get the next set of results.thingGroups
(Collection<GroupNameAndArn> thingGroups) The thing groups.thingGroups
(Consumer<GroupNameAndArn.Builder>... thingGroups) The thing groups.thingGroups
(GroupNameAndArn... thingGroups) The thing groups.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
thingGroups
The thing groups.
- Parameters:
thingGroups
- The thing groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroups
The thing groups.
- Parameters:
thingGroups
- The thing groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroups
The thing groups.
This is a convenience method that creates an instance of theGroupNameAndArn.Builder
avoiding the need to create one manually viaGroupNameAndArn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothingGroups(List<GroupNameAndArn>)
.- Parameters:
thingGroups
- a consumer that will call methods onGroupNameAndArn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to get the next set of results. Will not be returned if operation has returned all results.
- Parameters:
nextToken
- The token to use to get the next set of results. Will not be returned if operation has returned all results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-