Class LatLonOptions
- java.lang.Object
-
- software.amazon.awssdk.services.cloudsearch.model.LatLonOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LatLonOptions.Builder,LatLonOptions>
@Generated("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
IndexFieldTypespecifies the field is of typelatlon. All options are enabled by default.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLatLonOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LatLonOptions.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 LatLonOptions.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.LatLonOptions.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 LatLonOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LatLonOptions.Builder,LatLonOptions>
-
builder
public static LatLonOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends LatLonOptions.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.
-
-