Interface SearchThingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchThingsResponse.Builder,
,SearchThingsResponse> IoTThingsGraphResponse.Builder
,SdkBuilder<SearchThingsResponse.Builder,
,SearchThingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchThingsResponse
public static interface SearchThingsResponse.Builder
extends IoTThingsGraphResponse.Builder, SdkPojo, CopyableBuilder<SearchThingsResponse.Builder,SearchThingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe string to specify asnextToken
when you request the next page of results.things
(Collection<Thing> things) An array of things in the result set.things
(Consumer<Thing.Builder>... things) An array of things in the result set.An array of things in the result set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotthingsgraph.model.IoTThingsGraphResponse.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
-
things
An array of things in the result set.
- Parameters:
things
- An array of things in the result set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
things
An array of things in the result set.
- Parameters:
things
- An array of things in the result set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
things
An array of things in the result set.
This is a convenience method that creates an instance of theThing.Builder
avoiding the need to create one manually viaThing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothings(List<Thing>)
.- Parameters:
things
- a consumer that will call methods onThing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The string to specify as
nextToken
when you request the next page of results.- Parameters:
nextToken
- The string to specify asnextToken
when you request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-