Class AzureAppPushReceiver
java.lang.Object
com.azure.resourcemanager.monitor.models.AzureAppPushReceiver
The Azure mobile App push notification receiver.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the emailAddress property: The email address registered for the Azure mobile app.name()Get the name property: The name of the Azure mobile app push receiver.voidvalidate()Validates the instance.withEmailAddress(String emailAddress) Set the emailAddress property: The email address registered for the Azure mobile app.Set the name property: The name of the Azure mobile app push receiver.
-
Constructor Details
-
AzureAppPushReceiver
public AzureAppPushReceiver()Creates an instance of AzureAppPushReceiver class.
-
-
Method Details
-
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
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
Get the emailAddress property: The email address registered for the Azure mobile app.- Returns:
- the emailAddress value.
-
withEmailAddress
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.
-