Interface Correction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Correction.Builder,
,Correction> SdkBuilder<Correction.Builder,
,Correction> SdkPojo
- Enclosing class:
Correction
public static interface Correction.Builder
extends SdkPojo, CopyableBuilder<Correction.Builder,Correction>
-
Method Summary
Modifier and TypeMethodDescriptionbeginOffset
(Integer beginOffset) The zero-based location in the response string or text where the corrected word starts.correctedTerm
(String correctedTerm) The string or text of a corrected misspelled word in a query.The zero-based location in the response string or text where the corrected word ends.The string or text of a misspelled word in a query.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 Details
-
beginOffset
The zero-based location in the response string or text where the corrected word starts.
- Parameters:
beginOffset
- The zero-based location in the response string or text where the corrected word starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endOffset
The zero-based location in the response string or text where the corrected word ends.
- Parameters:
endOffset
- The zero-based location in the response string or text where the corrected word ends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
term
The string or text of a misspelled word in a query.
- Parameters:
term
- The string or text of a misspelled word in a query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
correctedTerm
The string or text of a corrected misspelled word in a query.
- Parameters:
correctedTerm
- The string or text of a corrected misspelled word in a query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-