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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchIndexResponse.BuildernextToken(String nextToken)The token used to get the next set of results, ornullif there are no additional results.SearchIndexResponse.BuilderthingGroups(Collection<ThingGroupDocument> thingGroups)The thing groups that match the search query.SearchIndexResponse.BuilderthingGroups(Consumer<ThingGroupDocument.Builder>... thingGroups)The thing groups that match the search query.SearchIndexResponse.BuilderthingGroups(ThingGroupDocument... thingGroups)The thing groups that match the search query.SearchIndexResponse.Builderthings(Collection<ThingDocument> things)The things that match the search query.SearchIndexResponse.Builderthings(Consumer<ThingDocument.Builder>... things)The things that match the search query.SearchIndexResponse.Builderthings(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 Detail
-
nextToken
SearchIndexResponse.Builder nextToken(String 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
SearchIndexResponse.Builder things(Collection<ThingDocument> 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
SearchIndexResponse.Builder things(ThingDocument... 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
SearchIndexResponse.Builder things(Consumer<ThingDocument.Builder>... 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 to#things(List.) - 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:
#things(java.util.Collection)
-
thingGroups
SearchIndexResponse.Builder thingGroups(Collection<ThingGroupDocument> 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
SearchIndexResponse.Builder thingGroups(ThingGroupDocument... 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
SearchIndexResponse.Builder thingGroups(Consumer<ThingGroupDocument.Builder>... 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 to#thingGroups(List.) - 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:
#thingGroups(java.util.Collection)
-
-