Class EmailAddress
java.lang.Object
com.azure.communication.email.models.EmailAddress
An object representing the email address and its display name.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the address property: Email address.Get the displayName property: Email display name.setDisplayName(String displayName) Set the displayName property: Email display name.
-
Constructor Details
-
EmailAddress
Creates an instance of EmailAddress class.- Parameters:
address- the address value to set.
-
-
Method Details
-
getAddress
Get the address property: Email address.- Returns:
- the address value.
-
getDisplayName
Get the displayName property: Email display name.- Returns:
- the displayName value.
-
setDisplayName
Set the displayName property: Email display name.- Parameters:
displayName- the displayName value to set.- Returns:
- the EmailAddress object itself.
-