@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String defaultValue()
public final String sourceField()
public final Boolean returnEnabled()
Whether the contents of the field can be returned in the search results.
public final Boolean sortEnabled()
Whether the field can be used to sort the search results.
public final Boolean highlightEnabled()
Whether highlights can be returned for the field.
public final String analysisScheme()
The name of an analysis scheme for a text field.
text field.public TextOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TextOptions.Builder,TextOptions>public static TextOptions.Builder builder()
public static Class<? extends TextOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.