Interface QueryRefinement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QueryRefinement.Builder,
,QueryRefinement> SdkBuilder<QueryRefinement.Builder,
,QueryRefinement> SdkPojo
- Enclosing class:
QueryRefinement
@Mutable
@NotThreadSafe
public static interface QueryRefinement.Builder
extends SdkPojo, CopyableBuilder<QueryRefinement.Builder,QueryRefinement>
-
Method Summary
Modifier and TypeMethodDescriptionEnd index of the parsed query.originalTerm
(String originalTerm) The sub-string of the original query that is replaced by this query term.refinedTerm
(String refinedTerm) The term that will be suggested to the user.startIndex
(Integer startIndex) Start index of the parsed component.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
-
refinedTerm
The term that will be suggested to the user.
- Parameters:
refinedTerm
- The term that will be suggested to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originalTerm
The sub-string of the original query that is replaced by this query term.
- Parameters:
originalTerm
- The sub-string of the original query that is replaced by this query term.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startIndex
Start index of the parsed component.
- Parameters:
startIndex
- Start index of the parsed component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endIndex
End index of the parsed query.
- Parameters:
endIndex
- End index of the parsed query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-