@Generated(value="software.amazon.awssdk:codegen") public final class Country extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Country.Builder,Country>
Contains information about the country where the remote IP address is located.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Country.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Country.Builder |
builder() |
String |
countryCode()
The country code of the remote IP address.
|
String |
countryName()
The country name of the remote IP address.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Country.Builder> |
serializableBuilderClass() |
Country.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String countryCode()
The country code of the remote IP address.
public final String countryName()
The country name of the remote IP address.
public Country.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Country.Builder,Country>public static Country.Builder builder()
public static Class<? extends Country.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.