Class TextArrayOptions
- java.lang.Object
-
- software.amazon.awssdk.services.cloudsearch.model.TextArrayOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TextArrayOptions.Builder,TextArrayOptions>
@Generated("software.amazon.awssdk:codegen") public final class TextArrayOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TextArrayOptions.Builder,TextArrayOptions>
Options for a field that contains an array of text strings. Present if
IndexFieldTypespecifies the field is of typetext-array. Atext-arrayfield is always searchable. All options are enabled by default.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTextArrayOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringanalysisScheme()The name of an analysis scheme for atext-arrayfield.static TextArrayOptions.Builderbuilder()StringdefaultValue()A value to use for the field if the field isn't specified for a document.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanhighlightEnabled()Whether highlights can be returned for the field.BooleanreturnEnabled()Whether the contents of the field can be returned in the search results.List<SdkField<?>>sdkFields()static Class<? extends TextArrayOptions.Builder>serializableBuilderClass()StringsourceFields()A list of source fields to map to the field.TextArrayOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
defaultValue
public final String defaultValue()
A value to use for the field if the field isn't specified for a document.- Returns:
- A value to use for the field if the field isn't specified for a document.
-
sourceFields
public final String sourceFields()
A list of source fields to map to the field.
- Returns:
- A list of source fields to map to the field.
-
returnEnabled
public final Boolean returnEnabled()
Whether the contents of the field can be returned in the search results.
- Returns:
- Whether the contents of the field can be returned in the search results.
-
highlightEnabled
public final Boolean highlightEnabled()
Whether highlights can be returned for the field.
- Returns:
- Whether highlights can be returned for the field.
-
analysisScheme
public final String analysisScheme()
The name of an analysis scheme for a
text-arrayfield.- Returns:
- The name of an analysis scheme for a
text-arrayfield.
-
toBuilder
public TextArrayOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TextArrayOptions.Builder,TextArrayOptions>
-
builder
public static TextArrayOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends TextArrayOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-