Interface SearchIndexResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchIndexResponse.Builder,,SearchIndexResponse> IotResponse.Builder,SdkBuilder<SearchIndexResponse.Builder,,SearchIndexResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchIndexResponse
@Mutable
@NotThreadSafe
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, ornullif 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
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
nullif there are no additional results.- Parameters:
nextToken- The token used to get the next set of results, ornullif 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.Builderavoiding the need to create one manually viaThingDocument.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaThingGroupDocument.builder().When the
Consumercompletes,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:
-