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 asnextTokenwhen 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
copyMethods inherited from interface software.amazon.awssdk.services.iotthingsgraph.model.IoTThingsGraphResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaThing.builder().When the
Consumercompletes,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
nextTokenwhen you request the next page of results.- Parameters:
nextToken- The string to specify asnextTokenwhen you request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-