@Generated(value="software.amazon.awssdk:codegen") public final class Address extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Address.Builder,Address>
A generic address associated with the customer that is not mailing, shipping, or billing.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Address.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
address1()
The first line of a customer address.
|
String |
address2()
The second line of a customer address.
|
String |
address3()
The third line of a customer address.
|
String |
address4()
The fourth line of a customer address.
|
static Address.Builder |
builder() |
String |
city()
The city in which a customer lives.
|
String |
country()
The country in which a customer lives.
|
String |
county()
The county in which a customer lives.
|
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 a customer address.
|
String |
province()
The province in which a customer lives.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Address.Builder> |
serializableBuilderClass() |
String |
state()
The state in which a customer lives.
|
Address.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String address1()
The first line of a customer address.
public final String address2()
The second line of a customer address.
public final String address3()
The third line of a customer address.
public final String address4()
The fourth line of a customer address.
public final String city()
The city in which a customer lives.
public final String county()
The county in which a customer lives.
public final String state()
The state in which a customer lives.
public final String province()
The province in which a customer lives.
public final String country()
The country in which a customer lives.
public final String postalCode()
The postal code of a customer 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.