Interface SearchIndexRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SearchIndexRequest.Builder,
,SearchIndexRequest> IotRequest.Builder
,SdkBuilder<SearchIndexRequest.Builder,
,SearchIndexRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SearchIndexRequest
@Mutable
@NotThreadSafe
public static interface SearchIndexRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<SearchIndexRequest.Builder,SearchIndexRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe search index name.maxResults
(Integer maxResults) The maximum number of results to return per page at one time.The token used to get the next set of results, ornull
if there are no additional results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.queryString
(String queryString) The search query string.queryVersion
(String queryVersion) The query version.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
indexName
The search index name.
- Parameters:
indexName
- The search index name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryString
The search query string. For more information about the search query syntax, see Query syntax.
- Parameters:
queryString
- The search query string. For more information about the search query syntax, see Query syntax.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
maxResults
The maximum number of results to return per page at one time. This maximum number cannot exceed 100. The response might contain fewer results but will never contain more. You can use
nextToken
to retrieve the next set of results untilnextToken
returnsNULL
.- Parameters:
maxResults
- The maximum number of results to return per page at one time. This maximum number cannot exceed 100. The response might contain fewer results but will never contain more. You can usenextToken
to retrieve the next set of results untilnextToken
returnsNULL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryVersion
The query version.
- Parameters:
queryVersion
- The query version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SearchIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-