Class GeoLocationTarget
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.GeoLocationTarget
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GeoLocationTarget.Builder,GeoLocationTarget>
@Generated("software.amazon.awssdk:codegen") public final class GeoLocationTarget extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GeoLocationTarget.Builder,GeoLocationTarget>
A geolocation target that you select to index. Each geolocation target contains a
nameandorderkey-value pair that specifies the geolocation target fields.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGeoLocationTarget.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeoLocationTarget.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()Thenameof the geolocation target field.TargetFieldOrderorder()Theorderof the geolocation target field.StringorderAsString()Theorderof the geolocation target field.List<SdkField<?>>sdkFields()static Class<? extends GeoLocationTarget.Builder>serializableBuilderClass()GeoLocationTarget.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
-
name
public final String name()
The
nameof the geolocation target field. If the target field is part of a named shadow, you must select the named shadow using thenamedShadowfilter.- Returns:
- The
nameof the geolocation target field. If the target field is part of a named shadow, you must select the named shadow using thenamedShadowfilter.
-
order
public final TargetFieldOrder order()
The
orderof the geolocation target field. This field is optional. The default value isLatLon.If the service returns an enum value that is not available in the current SDK version,
orderwill returnTargetFieldOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- The
orderof the geolocation target field. This field is optional. The default value isLatLon. - See Also:
TargetFieldOrder
-
orderAsString
public final String orderAsString()
The
orderof the geolocation target field. This field is optional. The default value isLatLon.If the service returns an enum value that is not available in the current SDK version,
orderwill returnTargetFieldOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- The
orderof the geolocation target field. This field is optional. The default value isLatLon. - See Also:
TargetFieldOrder
-
toBuilder
public GeoLocationTarget.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GeoLocationTarget.Builder,GeoLocationTarget>
-
builder
public static GeoLocationTarget.Builder builder()
-
serializableBuilderClass
public static Class<? extends GeoLocationTarget.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.
-
-