Class Address
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkvoice.model.Address
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Address.Builder,Address>
@Generated("software.amazon.awssdk:codegen") public final class Address extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Address.Builder,Address>
A validated address.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAddress.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Address.Builderbuilder()Stringcity()The city of an address.Stringcountry()The country of an address.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpostalCode()The postal code of an address.StringpostalCodePlus4()The zip + 4 or postal code + 4 of an address.StringpostDirectional()An address suffix location, such as theS.StringpreDirectional()An address prefix location, such as theNinN.List<SdkField<?>>sdkFields()static Class<? extends Address.Builder>serializableBuilderClass()Stringstate()The state of an address.StringstreetName()The address street, such as8th Avenue.StringstreetNumber()The numeric portion of an address.StringstreetSuffix()The address suffix, such as theNin8th Avenue N.Address.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
-
streetName
public final String streetName()
The address street, such as
8th Avenue.- Returns:
- The address street, such as
8th Avenue.
-
streetSuffix
public final String streetSuffix()
The address suffix, such as the
Nin8th Avenue N.- Returns:
- The address suffix, such as the
Nin8th Avenue N.
-
postDirectional
public final String postDirectional()
An address suffix location, such as the
S. Unit AinCentral Park S. Unit A.- Returns:
- An address suffix location, such as the
S. Unit AinCentral Park S. Unit A.
-
preDirectional
public final String preDirectional()
An address prefix location, such as the
NinN. Third St.- Returns:
- An address prefix location, such as the
NinN. Third St.
-
streetNumber
public final String streetNumber()
The numeric portion of an address.
- Returns:
- The numeric portion of an address.
-
city
public final String city()
The city of an address.
- Returns:
- The city of an address.
-
state
public final String state()
The state of an address.
- Returns:
- The state of an address.
-
postalCode
public final String postalCode()
The postal code of an address.
- Returns:
- The postal code of an address.
-
postalCodePlus4
public final String postalCodePlus4()
The zip + 4 or postal code + 4 of an address.
- Returns:
- The zip + 4 or postal code + 4 of an address.
-
country
public final String country()
The country of an address.
- Returns:
- The country of an address.
-
toBuilder
public Address.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Address.Builder,Address>
-
builder
public static Address.Builder builder()
-
serializableBuilderClass
public static Class<? extends Address.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.
-
-