public static interface RescoreRequest.Builder extends KendraRankingRequest.Builder, SdkPojo, CopyableBuilder<RescoreRequest.Builder,RescoreRequest>
| Modifier and Type | Method and Description |
|---|---|
RescoreRequest.Builder |
documents(Collection<Document> documents)
The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
|
RescoreRequest.Builder |
documents(Consumer<Document.Builder>... documents)
The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
|
RescoreRequest.Builder |
documents(Document... documents)
The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
|
RescoreRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
RescoreRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
RescoreRequest.Builder |
rescoreExecutionPlanId(String rescoreExecutionPlanId)
The identifier of the rescore execution plan.
|
RescoreRequest.Builder |
searchQuery(String searchQuery)
The input query from the search service.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildRescoreRequest.Builder rescoreExecutionPlanId(String rescoreExecutionPlanId)
The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent
Ranking resource used for provisioning the Rescore API.
rescoreExecutionPlanId - The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent
Ranking resource used for provisioning the Rescore API.RescoreRequest.Builder searchQuery(String searchQuery)
The input query from the search service.
searchQuery - The input query from the search service.RescoreRequest.Builder documents(Collection<Document> documents)
The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
documents - The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.RescoreRequest.Builder documents(Document... documents)
The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
documents - The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.RescoreRequest.Builder documents(Consumer<Document.Builder>... documents)
The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
This is a convenience method that creates an instance of theDocument.Builder avoiding the need to create one
manually via Document.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #documents(List.
documents - a consumer that will call methods on
Document.Builder#documents(java.util.Collection) RescoreRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderRescoreRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.