Interface TextOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TextOptions.Builder,
,TextOptions> SdkBuilder<TextOptions.Builder,
,TextOptions> SdkPojo
- Enclosing class:
TextOptions
public static interface TextOptions.Builder
extends SdkPojo, CopyableBuilder<TextOptions.Builder,TextOptions>
-
Method Summary
Modifier and TypeMethodDescriptionanalysisScheme
(String analysisScheme) The name of an analysis scheme for atext
field.defaultValue
(String defaultValue) A value to use for the field if the field isn't specified for a document.highlightEnabled
(Boolean highlightEnabled) Whether highlights can be returned for the field.returnEnabled
(Boolean returnEnabled) Whether the contents of the field can be returned in the search results.sortEnabled
(Boolean sortEnabled) Whether the field can be used to sort the search results.sourceField
(String sourceField) Sets the value of the SourceField property for this object.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
-
defaultValue
A value to use for the field if the field isn't specified for a document.- Parameters:
defaultValue
- A value to use for the field if the field isn't specified for a document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceField
Sets the value of the SourceField property for this object.- Parameters:
sourceField
- The new value for the SourceField property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnEnabled
Whether the contents of the field can be returned in the search results.
- Parameters:
returnEnabled
- Whether the contents of the field can be returned in the search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortEnabled
Whether the field can be used to sort the search results.
- Parameters:
sortEnabled
- Whether the field can be used to sort the search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
highlightEnabled
Whether highlights can be returned for the field.
- Parameters:
highlightEnabled
- Whether highlights can be returned for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisScheme
The name of an analysis scheme for a
text
field.- Parameters:
analysisScheme
- The name of an analysis scheme for atext
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-