Class AzureAppPushReceiver
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.AzureAppPushReceiver
-
public final class AzureAppPushReceiver extends Object
The Azure mobile App push notification receiver.
-
-
Constructor Summary
Constructors Constructor Description AzureAppPushReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringemailAddress()Get the emailAddress property: The email address registered for the Azure mobile app.Stringname()Get the name property: The name of the Azure mobile app push receiver.voidvalidate()Validates the instance.AzureAppPushReceiverwithEmailAddress(String emailAddress)Set the emailAddress property: The email address registered for the Azure mobile app.AzureAppPushReceiverwithName(String name)Set the name property: The name of the Azure mobile app push receiver.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.- Returns:
- the name value.
-
withName
public AzureAppPushReceiver withName(String name)
Set the name property: The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.- Parameters:
name- the name value to set.- Returns:
- the AzureAppPushReceiver object itself.
-
emailAddress
public String emailAddress()
Get the emailAddress property: The email address registered for the Azure mobile app.- Returns:
- the emailAddress value.
-
withEmailAddress
public AzureAppPushReceiver withEmailAddress(String emailAddress)
Set the emailAddress property: The email address registered for the Azure mobile app.- Parameters:
emailAddress- the emailAddress value to set.- Returns:
- the AzureAppPushReceiver object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-