Class DateOptions
- java.lang.Object
-
- software.amazon.awssdk.services.cloudsearch.model.DateOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DateOptions.Builder,DateOptions>
@Generated("software.amazon.awssdk:codegen") public final class DateOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DateOptions.Builder,DateOptions>
Options for a date field. Dates and times are specified in UTC (Coordinated Universal Time) according to IETF RFC3339: yyyy-mm-ddT00:00:00Z. Present if
IndexFieldTypespecifies the field is of typedate. All options are enabled by default.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDateOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DateOptions.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 DateOptions.Builder>serializableBuilderClass()BooleansortEnabled()Whether the field can be used to sort the search results.StringsourceField()Returns the value of the SourceField property for this object.DateOptions.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.
-
sourceField
public final String sourceField()
Returns the value of the SourceField property for this object.- Returns:
- The value of the SourceField property for this object.
-
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.
-
sortEnabled
public final Boolean sortEnabled()
Whether the field can be used to sort the search results.
- Returns:
- Whether the field can be used to sort the search results.
-
toBuilder
public DateOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DateOptions.Builder,DateOptions>
-
builder
public static DateOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends DateOptions.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.
-
-