primary
A Boolean value representing whether this is the primary email address for the associated resource.
- Returns:
- A Boolean value representing whether this is the primary email address for the associated resource.
Serializable
, SdkPojo
, ToCopyableBuilder<Email.Builder,Email>
The email address associated with the user.
static Email.Builder
builder()
final boolean
final boolean
equalsBySdkFields(Object obj)
final <T> Optional<T>
getValueForField(String fieldName,
Class<T> clazz)
final int
hashCode()
final Boolean
primary()
static Class<? extends Email.Builder>
final String
toString()
final String
type()
final String
value()
copy
A string containing an email address. For example, "johndoe@amazon.com."
A string representing the type of address. For example, "Work."
A Boolean value representing whether this is the primary email address for the associated resource.
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Email.Builder,Email>
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