public static interface TextArrayOptions.Builder extends CopyableBuilder<TextArrayOptions.Builder,TextArrayOptions>
Modifier and Type | Method and Description |
---|---|
TextArrayOptions.Builder |
analysisScheme(String analysisScheme)
The name of an analysis scheme for a
text-array field. |
TextArrayOptions.Builder |
defaultValue(String defaultValue)
A value to use for the field if the field isn't specified for a document.
|
TextArrayOptions.Builder |
highlightEnabled(Boolean highlightEnabled)
Whether highlights can be returned for the field.
|
TextArrayOptions.Builder |
returnEnabled(Boolean returnEnabled)
Whether the contents of the field can be returned in the search results.
|
TextArrayOptions.Builder |
sourceFields(String sourceFields)
A list of source fields to map to the field.
|
copy
applyMutation, build
TextArrayOptions.Builder defaultValue(String defaultValue)
defaultValue
- A value to use for the field if the field isn't specified for a document.TextArrayOptions.Builder sourceFields(String sourceFields)
A list of source fields to map to the field.
sourceFields
- A list of source fields to map to the field.TextArrayOptions.Builder returnEnabled(Boolean returnEnabled)
Whether the contents of the field can be returned in the search results.
returnEnabled
- Whether the contents of the field can be returned in the search results.TextArrayOptions.Builder highlightEnabled(Boolean highlightEnabled)
Whether highlights can be returned for the field.
highlightEnabled
- Whether highlights can be returned for the field.TextArrayOptions.Builder analysisScheme(String analysisScheme)
The name of an analysis scheme for a text-array
field.
analysisScheme
- The name of an analysis scheme for a text-array
field.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.