Class Country
- java.lang.Object
-
- software.amazon.awssdk.services.geoplaces.model.Country
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Country.Builder,Country>
@Generated("software.amazon.awssdk:codegen") public final class Country extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Country.Builder,Country>
The alpha-2 or alpha-3 character code for the country that the results will be present in.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCountry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Country.Builderbuilder()Stringcode2()Country, represented by its alpha 2-character code.Stringcode3()Country, represented by its alpha t-character code.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()Name of the country.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Country.Builder>serializableBuilderClass()Country.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
-
code2
public final String code2()
Country, represented by its alpha 2-character code.
- Returns:
- Country, represented by its alpha 2-character code.
-
code3
public final String code3()
Country, represented by its alpha t-character code.
- Returns:
- Country, represented by its alpha t-character code.
-
name
public final String name()
Name of the country.
- Returns:
- Name of the country.
-
toBuilder
public Country.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Country.Builder,Country>
-
builder
public static Country.Builder builder()
-
serializableBuilderClass
public static Class<? extends Country.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-