Class Region
- java.lang.Object
-
- software.amazon.awssdk.services.geoplaces.model.Region
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Region.Builder,Region>
@Generated("software.amazon.awssdk:codegen") public final class Region extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Region.Builder,Region>
The region or state results should be to be present in.
Example:
North Rhine-Westphalia.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Region.Builderbuilder()Stringcode()Abbreviated code for a the state, province or region of the country.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()Name for a the state, province, or region of the country.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Region.Builder>serializableBuilderClass()Region.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
-
code
public final String code()
Abbreviated code for a the state, province or region of the country.
Example:
BC.- Returns:
- Abbreviated code for a the state, province or region of the country.
Example:
BC.
-
name
public final String name()
Name for a the state, province, or region of the country.
Example:
British Columbia.- Returns:
- Name for a the state, province, or region of the country.
Example:
British Columbia.
-
toBuilder
public Region.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Region.Builder,Region>
-
builder
public static Region.Builder builder()
-
serializableBuilderClass
public static Class<? extends Region.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
-
-