@Generated(value="software.amazon.awssdk:codegen") public final class LatLonOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LatLonOptions.Builder,LatLonOptions>
Options for a latlon field. A latlon field contains a location stored as a latitude and longitude value pair. Present
if IndexFieldType specifies the field is of type latlon. All options are enabled by
default.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LatLonOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LatLonOptions.Builder |
builder() |
String |
defaultValue()
A value to use for the field if the field isn't specified for a document.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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 LatLonOptions.Builder> |
serializableBuilderClass() |
Boolean |
sortEnabled()
Whether the field can be used to sort the search results.
|
String |
sourceField()
Returns the value of the SourceField property for this object.
|
LatLonOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String defaultValue()
public final String sourceField()
public final Boolean facetEnabled()
Whether facet information can be returned for the field.
public final Boolean searchEnabled()
Whether the contents of the field are searchable.
public final Boolean returnEnabled()
Whether the contents of the field can be returned in the search results.
public final Boolean sortEnabled()
Whether the field can be used to sort the search results.
public LatLonOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LatLonOptions.Builder,LatLonOptions>public static LatLonOptions.Builder builder()
public static Class<? extends LatLonOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.