@Generated(value="software.amazon.awssdk:codegen") public final class TextArrayOptions extends Object implements ToCopyableBuilder<TextArrayOptions.Builder,TextArrayOptions>
Options for a field that contains an array of text strings. Present if IndexFieldType
specifies the
field is of type text-array
. A text-array
field is always searchable. All options are
enabled by default.
Modifier and Type | Class and Description |
---|---|
static interface |
TextArrayOptions.Builder |
Modifier and Type | Method and Description |
---|---|
String |
analysisScheme()
The name of an analysis scheme for a
text-array field. |
static TextArrayOptions.Builder |
builder() |
String |
defaultValue()
A value to use for the field if the field isn't specified for a document.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
highlightEnabled()
Whether highlights can be returned for the field.
|
Boolean |
returnEnabled()
Whether the contents of the field can be returned in the search results.
|
static Class<? extends TextArrayOptions.Builder> |
serializableBuilderClass() |
String |
sourceFields()
A list of source fields to map to the field.
|
TextArrayOptions.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String defaultValue()
public String sourceFields()
A list of source fields to map to the field.
public Boolean returnEnabled()
Whether the contents of the field can be returned in the search results.
public Boolean highlightEnabled()
Whether highlights can be returned for the field.
public String analysisScheme()
The name of an analysis scheme for a text-array
field.
text-array
field.public TextArrayOptions.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TextArrayOptions.Builder,TextArrayOptions>
public static TextArrayOptions.Builder builder()
public static Class<? extends TextArrayOptions.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.