Interface SearchIndexResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchIndexResponse.Builder,
,SearchIndexResponse> IotResponse.Builder
,SdkBuilder<SearchIndexResponse.Builder,
,SearchIndexResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchIndexResponse
public static interface SearchIndexResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<SearchIndexResponse.Builder,SearchIndexResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token used to get the next set of results, ornull
if there are no additional results.thingGroups
(Collection<ThingGroupDocument> thingGroups) The thing groups that match the search query.thingGroups
(Consumer<ThingGroupDocument.Builder>... thingGroups) The thing groups that match the search query.thingGroups
(ThingGroupDocument... thingGroups) The thing groups that match the search query.things
(Collection<ThingDocument> things) The things that match the search query.things
(Consumer<ThingDocument.Builder>... things) The things that match the search query.things
(ThingDocument... things) The things that match the search query.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 Details
-
nextToken
The token used to get the next set of results, or
null
if there are no additional results.- Parameters:
nextToken
- The token used to get the next set of results, ornull
if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
things
The things that match the search query.
- Parameters:
things
- The things that match the search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
things
The things that match the search query.
- Parameters:
things
- The things that match the search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
things
The things that match the search query.
This is a convenience method that creates an instance of theThingDocument.Builder
avoiding the need to create one manually viaThingDocument.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothings(List<ThingDocument>)
.- Parameters:
things
- a consumer that will call methods onThingDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
thingGroups
The thing groups that match the search query.
- Parameters:
thingGroups
- The thing groups that match the search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroups
The thing groups that match the search query.
- Parameters:
thingGroups
- The thing groups that match the search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroups
The thing groups that match the search query.
This is a convenience method that creates an instance of theThingGroupDocument.Builder
avoiding the need to create one manually viaThingGroupDocument.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothingGroups(List<ThingGroupDocument>)
.- Parameters:
thingGroups
- a consumer that will call methods onThingGroupDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-