public final class EmailReceiver extends Object
| Constructor and Description |
|---|
EmailReceiver() |
| Modifier and Type | Method and Description |
|---|---|
String |
emailAddress()
Get the emailAddress property: The email address of this receiver.
|
String |
name()
Get the name property: The name of the email receiver.
|
ReceiverStatus |
status()
Get the status property: The receiver status of the e-mail.
|
boolean |
useCommonAlertSchema()
Get the useCommonAlertSchema property: Indicates whether to use common alert schema.
|
void |
validate()
Validates the instance.
|
EmailReceiver |
withEmailAddress(String emailAddress)
Set the emailAddress property: The email address of this receiver.
|
EmailReceiver |
withName(String name)
Set the name property: The name of the email receiver.
|
EmailReceiver |
withUseCommonAlertSchema(boolean useCommonAlertSchema)
Set the useCommonAlertSchema property: Indicates whether to use common alert schema.
|
public String name()
public EmailReceiver withName(String name)
name - the name value to set.public String emailAddress()
public EmailReceiver withEmailAddress(String emailAddress)
emailAddress - the emailAddress value to set.public boolean useCommonAlertSchema()
public EmailReceiver withUseCommonAlertSchema(boolean useCommonAlertSchema)
useCommonAlertSchema - the useCommonAlertSchema value to set.public ReceiverStatus status()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.