Class DateArrayOptions
- java.lang.Object
-
- software.amazon.awssdk.services.cloudsearch.model.DateArrayOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DateArrayOptions.Builder,DateArrayOptions>
@Generated("software.amazon.awssdk:codegen") public final class DateArrayOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DateArrayOptions.Builder,DateArrayOptions>
Options for a field that contains an array of dates. Present if
IndexFieldTypespecifies the field is of typedate-array. All options are enabled by default.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDateArrayOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DateArrayOptions.Builderbuilder()StringdefaultValue()A value to use for the field if the field isn't specified for a document.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanfacetEnabled()Whether facet information can be returned for the field.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanreturnEnabled()Whether the contents of the field can be returned in the search results.List<SdkField<?>>sdkFields()BooleansearchEnabled()Whether the contents of the field are searchable.static Class<? extends DateArrayOptions.Builder>serializableBuilderClass()StringsourceFields()A list of source fields to map to the field.DateArrayOptions.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.
-
facetEnabled
public final Boolean facetEnabled()
Whether facet information can be returned for the field.
- Returns:
- Whether facet information can be returned for the field.
-
searchEnabled
public final Boolean searchEnabled()
Whether the contents of the field are searchable.
- Returns:
- Whether the contents of the field are searchable.
-
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.
-
toBuilder
public DateArrayOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DateArrayOptions.Builder,DateArrayOptions>
-
builder
public static DateArrayOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends DateArrayOptions.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.
-
-