@Generated(value="software.amazon.awssdk:codegen") public final class IpGeoLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IpGeoLocation.Builder,IpGeoLocation>
Provides geographic coordinates that indicate where a specified IP address originated from.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IpGeoLocation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IpGeoLocation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
lat()
The latitude coordinate of the location, rounded to four decimal places.
|
Double |
lon()
The longitude coordinate of the location, rounded to four decimal places.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IpGeoLocation.Builder> |
serializableBuilderClass() |
IpGeoLocation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Double lat()
The latitude coordinate of the location, rounded to four decimal places.
public Double lon()
The longitude coordinate of the location, rounded to four decimal places.
public IpGeoLocation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IpGeoLocation.Builder,IpGeoLocation>public static IpGeoLocation.Builder builder()
public static Class<? extends IpGeoLocation.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.