@Generated(value="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 IndexFieldType
specifies the
field is of type double
. All options are enabled by default.
Modifier and Type | Class and Description |
---|---|
static interface |
DoubleOptions.Builder |
Modifier and Type | Method and Description |
---|---|
static DoubleOptions.Builder |
builder() |
Double |
defaultValue()
A value to use for the field if the field isn't specified for a document.
|
boolean |
equals(Object obj) |
Boolean |
facetEnabled()
Whether facet information can be returned for the field.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
returnEnabled()
Whether the contents of the field can be returned in the search results.
|
List<SdkField<?>> |
sdkFields() |
Boolean |
searchEnabled()
Whether the contents of the field are searchable.
|
static Class<? extends DoubleOptions.Builder> |
serializableBuilderClass() |
Boolean |
sortEnabled()
Whether the field can be used to sort the search results.
|
String |
sourceField()
The name of the source field to map to the field.
|
DoubleOptions.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
public String sourceField()
The name of the source field to map to the field.
public Boolean facetEnabled()
Whether facet information can be returned for the field.
public Boolean searchEnabled()
Whether the contents of the field are searchable.
public Boolean returnEnabled()
Whether the contents of the field can be returned in the search results.
public Boolean sortEnabled()
Whether the field can be used to sort the search results.
public DoubleOptions.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DoubleOptions.Builder,DoubleOptions>
public static DoubleOptions.Builder builder()
public static Class<? extends DoubleOptions.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.