Interface SuggestionMatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SuggestionMatch.Builder,SuggestionMatch>,SdkBuilder<SuggestionMatch.Builder,SuggestionMatch>,SdkPojo
- Enclosing class:
- SuggestionMatch
public static interface SuggestionMatch.Builder extends SdkPojo, CopyableBuilder<SuggestionMatch.Builder,SuggestionMatch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SuggestionMatch.Builderid(String id)The document ID of the suggested document.SuggestionMatch.Builderscore(Long score)The relevance score of a suggested match.SuggestionMatch.Buildersuggestion(String suggestion)The string that matches the query string specified in theSuggestRequest.-
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 Detail
-
suggestion
SuggestionMatch.Builder suggestion(String suggestion)
The string that matches the query string specified in the
SuggestRequest.- Parameters:
suggestion- The string that matches the query string specified in theSuggestRequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
score
SuggestionMatch.Builder score(Long score)
The relevance score of a suggested match.
- Parameters:
score- The relevance score of a suggested match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
SuggestionMatch.Builder id(String id)
The document ID of the suggested document.
- Parameters:
id- The document ID of the suggested document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-