Class Email
- java.lang.Object
-
- software.amazon.awssdk.services.identitystore.model.Email
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Email.Builder,Email>
@Generated("software.amazon.awssdk:codegen") public final class Email extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Email.Builder,Email>
The email address associated with the user.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEmail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Email.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleanprimary()A Boolean value representing whether this is the primary email address for the associated resource.List<SdkField<?>>sdkFields()static Class<? extends Email.Builder>serializableBuilderClass()Email.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()A string representing the type of address.Stringvalue()A string containing an email address.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
value
public final String value()
A string containing an email address. For example, "johndoe@amazon.com."
- Returns:
- A string containing an email address. For example, "johndoe@amazon.com."
-
type
public final String type()
A string representing the type of address. For example, "Work."
- Returns:
- A string representing the type of address. For example, "Work."
-
primary
public final Boolean 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.
-
toBuilder
public Email.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Email.Builder,Email>
-
builder
public static Email.Builder builder()
-
serializableBuilderClass
public static Class<? extends Email.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-