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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchThingsResponse.BuildernextToken(String nextToken)The string to specify asnextTokenwhen you request the next page of results.SearchThingsResponse.Builderthings(Collection<Thing> things)An array of things in the result set.SearchThingsResponse.Builderthings(Consumer<Thing.Builder>... things)An array of things in the result set.SearchThingsResponse.Builderthings(Thing... things)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 Detail
-
things
SearchThingsResponse.Builder things(Collection<Thing> 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
SearchThingsResponse.Builder things(Thing... 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
SearchThingsResponse.Builder things(Consumer<Thing.Builder>... 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 to#things(List.) - 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:
#things(java.util.Collection)
-
nextToken
SearchThingsResponse.Builder nextToken(String 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.
-
-