@Generated(value="software.amazon.awssdk:codegen") public final class Address extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Address.Builder,Address>
The address associated with the specified user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Address.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Address.Builder |
builder() |
String |
country()
The country of the address.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
formatted()
A string containing a formatted version of the address for display.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
locality()
A string of the address locality.
|
String |
postalCode()
The postal code of the address.
|
Boolean |
primary()
A Boolean value representing whether this is the primary address for the associated resource.
|
String |
region()
The region of the address.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Address.Builder> |
serializableBuilderClass() |
String |
streetAddress()
The street of the address.
|
Address.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
A string representing the type of address.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String streetAddress()
The street of the address.
public final String locality()
A string of the address locality.
public final String region()
The region of the address.
public final String postalCode()
The postal code of the address.
public final String country()
The country of the address.
public final String formatted()
A string containing a formatted version of the address for display.
public final String type()
A string representing the type of address. For example, "Home."
public final Boolean primary()
A Boolean value representing whether this is the primary address for the associated resource.
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.