Interface TextArrayOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TextArrayOptions.Builder,
,TextArrayOptions> SdkBuilder<TextArrayOptions.Builder,
,TextArrayOptions> SdkPojo
- Enclosing class:
TextArrayOptions
public static interface TextArrayOptions.Builder
extends SdkPojo, CopyableBuilder<TextArrayOptions.Builder,TextArrayOptions>
-
Method Summary
Modifier and TypeMethodDescriptionanalysisScheme
(String analysisScheme) The name of an analysis scheme for atext-array
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.sourceFields
(String sourceFields) A list of source fields to map to the field.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.
-
sourceFields
A list of source fields to map to the field.
- Parameters:
sourceFields
- A list of source fields to map to the field.- 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.
-
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-array
field.- Parameters:
analysisScheme
- The name of an analysis scheme for atext-array
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-