Interface ListThingGroupsForThingResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListThingGroupsForThingResponse.Builder,,ListThingGroupsForThingResponse> IotResponse.Builder,SdkBuilder<ListThingGroupsForThingResponse.Builder,,ListThingGroupsForThingResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ListThingGroupsForThingResponse
public static interface ListThingGroupsForThingResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListThingGroupsForThingResponse.Builder,ListThingGroupsForThingResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe token to use to get the next set of results, or null if there are no additional 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
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
ListThingGroupsForThingResponse.Builder thingGroups(Consumer<GroupNameAndArn.Builder>... thingGroups) The thing groups.
This is a convenience method that creates an instance of theGroupNameAndArn.Builderavoiding the need to create one manually viaGroupNameAndArn.builder().When the
Consumercompletes,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, or null if there are no additional results.
- Parameters:
 nextToken- The token to use to get the next set of results, or null if there are no additional results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -