Interface RescoreResultItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RescoreResultItem.Builder,
,RescoreResultItem> SdkBuilder<RescoreResultItem.Builder,
,RescoreResultItem> SdkPojo
- Enclosing class:
RescoreResultItem
@Mutable
@NotThreadSafe
public static interface RescoreResultItem.Builder
extends SdkPojo, CopyableBuilder<RescoreResultItem.Builder,RescoreResultItem>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentId
(String documentId) The identifier of the document from the search service.The relevancy score or rank that Amazon Kendra Intelligent Ranking gives to the result.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
documentId
The identifier of the document from the search service.
- Parameters:
documentId
- The identifier of the document from the search service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
score
The relevancy score or rank that Amazon Kendra Intelligent Ranking gives to the result.
- Parameters:
score
- The relevancy score or rank that Amazon Kendra Intelligent Ranking gives to the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-