Interface RescoreResultItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RescoreResultItem.Builder,RescoreResultItem>,SdkBuilder<RescoreResultItem.Builder,RescoreResultItem>,SdkPojo
- Enclosing class:
- RescoreResultItem
public static interface RescoreResultItem.Builder extends SdkPojo, CopyableBuilder<RescoreResultItem.Builder,RescoreResultItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RescoreResultItem.BuilderdocumentId(String documentId)The identifier of the document from the search service.RescoreResultItem.Builderscore(Float score)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, sdkFields
-
-
-
-
Method Detail
-
documentId
RescoreResultItem.Builder documentId(String 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
RescoreResultItem.Builder score(Float 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.
-
-