primary
A Boolean value representing whether this is the primary address for the associated resource.
- Returns:
- A Boolean value representing whether this is the primary address for the associated resource.
Serializable
, SdkPojo
, ToCopyableBuilder<Address.Builder,Address>
The address associated with the specified user.
static Address.Builder
builder()
final String
country()
final boolean
final boolean
equalsBySdkFields(Object obj)
final String
final <T> Optional<T>
getValueForField(String fieldName,
Class<T> clazz)
final int
hashCode()
final String
locality()
final String
final Boolean
primary()
final String
region()
static Class<? extends Address.Builder>
final String
final String
toString()
final String
type()
copy
The street of the address.
A string of the address locality.
The region of the address.
The postal code of the address.
The country of the address.
A string containing a formatted version of the address for display.
A string representing the type of address. For example, "Home."
A Boolean value representing whether this is the primary address for the associated resource.
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Address.Builder,Address>
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared with