Class DoubleOptions
- java.lang.Object
-
- software.amazon.awssdk.services.cloudsearch.model.DoubleOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DoubleOptions.Builder,DoubleOptions>
@Generated("software.amazon.awssdk:codegen") public final class DoubleOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DoubleOptions.Builder,DoubleOptions>
Options for a double-precision 64-bit floating point field. Present if
IndexFieldTypespecifies the field is of typedouble. All options are enabled by default.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDoubleOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DoubleOptions.Builderbuilder()DoubledefaultValue()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 DoubleOptions.Builder>serializableBuilderClass()BooleansortEnabled()Whether the field can be used to sort the search results.StringsourceField()The name of the source field to map to the field.DoubleOptions.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 Double defaultValue()
A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.
- Returns:
- A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.
-
sourceField
public final String sourceField()
The name of the source field to map to the field.
- Returns:
- The name of the source field 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.
-
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 DoubleOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DoubleOptions.Builder,DoubleOptions>
-
builder
public static DoubleOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends DoubleOptions.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.
-
-