@Generated(value="software.amazon.awssdk:codegen") public final class Address extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Address.Builder,Address>
A validated address.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Address.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Address.Builder |
builder() |
String |
city()
The city of an address.
|
String |
country()
The country of an address.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
postalCode()
The postal code of an address.
|
String |
postalCodePlus4()
The Zip + 4 or postal code + 4 of an address.
|
String |
postDirectional()
An address suffix location, such as the
S. |
String |
preDirectional()
An address prefix location, such as the
N in N. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Address.Builder> |
serializableBuilderClass() |
String |
state()
The state of an address.
|
String |
streetName()
The address street, such as
8th Avenue. |
String |
streetNumber()
The numeric portion of an address.
|
String |
streetSuffix()
The address suffix, such as the
N in 8th Avenue N. |
Address.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String streetName()
The address street, such as 8th Avenue.
8th Avenue.public final String streetSuffix()
The address suffix, such as the N in 8th Avenue N.
N in 8th Avenue N.public final String postDirectional()
An address suffix location, such as the S. Unit A in Central Park S. Unit A.
S. Unit A in Central Park S. Unit A.public final String preDirectional()
An address prefix location, such as the N in N. Third St..
N in N. Third St..public final String streetNumber()
The numeric portion of an address.
public final String city()
The city of an address.
public final String state()
The state of an address.
public final String postalCode()
The postal code of an address.
public final String postalCodePlus4()
The Zip + 4 or postal code + 4 of an address.
public final String country()
The country of an address.
public Address.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Address.Builder,Address>public static Address.Builder builder()
public static Class<? extends Address.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.