Class EmailAddress
java.lang.Object
com.azure.communication.email.models.EmailAddress
An object representing the email address and its display name.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Email display name.getEmail()
Get the email property: Email address.setDisplayName
(String displayName) Set the displayName property: Email display name.
-
Constructor Details
-
EmailAddress
Constructor for EmailAddress- Parameters:
email
- the email address.
-
-
Method Details
-
getEmail
Get the email property: Email address.- Returns:
- the email 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.
-