@Generated(value="software.amazon.awssdk:codegen") public final class Address extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Address.Builder,Address>
Information about an address.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Address.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
addressLine1()
The first line of the address.
|
String |
addressLine2()
The second line of the address.
|
String |
addressLine3()
The third line of the address.
|
static Address.Builder |
builder() |
String |
city()
The city for the address.
|
String |
contactName()
The name of the contact.
|
String |
contactPhoneNumber()
The phone number of the contact.
|
String |
countryCode()
The ISO-3166 two-letter country code for the address.
|
String |
districtOrCounty()
The district or county for the address.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
municipality()
The municipality for the address.
|
String |
postalCode()
The postal code for the address.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Address.Builder> |
serializableBuilderClass() |
String |
stateOrRegion()
The state for the address.
|
Address.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contactName()
The name of the contact.
public final String contactPhoneNumber()
The phone number of the contact.
public final String addressLine1()
The first line of the address.
public final String addressLine2()
The second line of the address.
public final String addressLine3()
The third line of the address.
public final String city()
The city for the address.
public final String stateOrRegion()
The state for the address.
public final String districtOrCounty()
The district or county for the address.
public final String postalCode()
The postal code for the address.
public final String countryCode()
The ISO-3166 two-letter country code for the address.
public final String municipality()
The municipality for the 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 © 2022. All rights reserved.