Class EmailReceiver
- java.lang.Object
-
- com.microsoft.azure.management.monitor.EmailReceiver
-
public class EmailReceiver extends Object
An email receiver.
-
-
Constructor Summary
Constructors Constructor Description EmailReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringemailAddress()Get the email address of this receiver.Stringname()Get the name of the email receiver.ReceiverStatusstatus()Get the receiver status of the e-mail.EmailReceiverwithEmailAddress(String emailAddress)Set the email address of this receiver.EmailReceiverwithName(String name)Set the name of the email receiver.
-
-
-
Method Detail
-
name
public String name()
Get the name of the email receiver. Names must be unique across all receivers within an action group.- Returns:
- the name value
-
withName
public EmailReceiver withName(String name)
Set the name of the email receiver. Names must be unique across all receivers within an action group.- Parameters:
name- the name value to set- Returns:
- the EmailReceiver object itself.
-
emailAddress
public String emailAddress()
Get the email address of this receiver.- Returns:
- the emailAddress value
-
withEmailAddress
public EmailReceiver withEmailAddress(String emailAddress)
Set the email address of this receiver.- Parameters:
emailAddress- the emailAddress value to set- Returns:
- the EmailReceiver object itself.
-
status
public ReceiverStatus status()
Get the receiver status of the e-mail. Possible values include: 'NotSpecified', 'Enabled', 'Disabled'.- Returns:
- the status value
-
-