@Generated(value="software.amazon.awssdk:codegen") public final class TextOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TextOptions.Builder,TextOptions>
Options for text field. Present if IndexFieldType
specifies the field is of type text
. A
text
field is always searchable. All options are enabled by default.
Modifier and Type | Class and Description |
---|---|
static interface |
TextOptions.Builder |
Modifier and Type | Method and Description |
---|---|
String |
analysisScheme()
The name of an analysis scheme for a
text field. |
static TextOptions.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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TextOptions.Builder> |
serializableBuilderClass() |
Boolean |
sortEnabled()
Whether the field can be used to sort the search results.
|
String |
sourceField()
Returns the value of the SourceField property for this object.
|
TextOptions.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 sourceField()
public Boolean returnEnabled()
Whether the contents of the field can be returned in the search results.
public Boolean sortEnabled()
Whether the field can be used to sort 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
field.
text
field.public TextOptions.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TextOptions.Builder,TextOptions>
public static TextOptions.Builder builder()
public static Class<? extends TextOptions.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.