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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListThingGroupsForThingResponse.BuildernextToken(String nextToken)The token to use to get the next set of results, or null if there are no additional results.ListThingGroupsForThingResponse.BuilderthingGroups(Collection<GroupNameAndArn> thingGroups)The thing groups.ListThingGroupsForThingResponse.BuilderthingGroups(Consumer<GroupNameAndArn.Builder>... thingGroups)The thing groups.ListThingGroupsForThingResponse.BuilderthingGroups(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 Detail
-
thingGroups
ListThingGroupsForThingResponse.Builder thingGroups(Collection<GroupNameAndArn> 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(GroupNameAndArn... 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 to#thingGroups(List.) - 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:
#thingGroups(java.util.Collection)
-
nextToken
ListThingGroupsForThingResponse.Builder nextToken(String 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.
-
-