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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Correction.BuilderbeginOffset(Integer beginOffset)The zero-based location in the response string or text where the corrected word starts.Correction.BuildercorrectedTerm(String correctedTerm)The string or text of a corrected misspelled word in a query.Correction.BuilderendOffset(Integer endOffset)The zero-based location in the response string or text where the corrected word ends.Correction.Builderterm(String term)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 Detail
-
beginOffset
Correction.Builder beginOffset(Integer 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
Correction.Builder endOffset(Integer 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
Correction.Builder term(String 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
Correction.Builder correctedTerm(String 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.
-
-