@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 |
|---|---|
static Address.Builder |
builder() |
String |
city()
The city for this address.
|
String |
company()
The company name for this address.
|
String |
country()
The country for this address.
|
String |
emailAddress()
The recipient's email address.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The recipient's name for this address.
|
String |
phoneNumber()
The recipient's phone number.
|
String |
postalCode()
The postal code for this address.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Address.Builder> |
serializableBuilderClass() |
String |
stateOrProvince()
The state or province for this address.
|
String |
street1()
The first line of the street address.
|
String |
street2()
The second line of the street address.
|
String |
street3()
The third line of the street address.
|
Address.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String city()
The city for this address.
public final String company()
The company name for this address.
public final String country()
The country for this address.
public final String emailAddress()
The recipient's email address.
public final String name()
The recipient's name for this address.
public final String phoneNumber()
The recipient's phone number.
public final String postalCode()
The postal code for this address.
public final String stateOrProvince()
The state or province for this address.
public final String street1()
The first line of the street address.
public final String street2()
The second line of the street address.
public final String street3()
The third line of the street 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.