Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.monitor; import com.fasterxml.jackson.annotation.JsonProperty;
The Azure mobile App push notification receiver.
/** * The Azure mobile App push notification receiver. */
public class AzureAppPushReceiver {
The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
/** * The name of the Azure mobile app push receiver. Names must be unique * across all receivers within an action group. */
@JsonProperty(value = "name", required = true) private String name;
The email address registered for the Azure mobile app.
/** * The email address registered for the Azure mobile app. */
@JsonProperty(value = "emailAddress", required = true) private String emailAddress;
Get the name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
Returns:the name value
/** * Get the name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group. * * @return the name value */
public String name() { return this.name; }
Set the name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
Params:
  • name – the name value to set
Returns:the AzureAppPushReceiver object itself.
/** * Set the name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group. * * @param name the name value to set * @return the AzureAppPushReceiver object itself. */
public AzureAppPushReceiver withName(String name) { this.name = name; return this; }
Get the email address registered for the Azure mobile app.
Returns:the emailAddress value
/** * Get the email address registered for the Azure mobile app. * * @return the emailAddress value */
public String emailAddress() { return this.emailAddress; }
Set the email address registered for the Azure mobile app.
Params:
  • emailAddress – the emailAddress value to set
Returns:the AzureAppPushReceiver object itself.
/** * Set the email address registered for the Azure mobile app. * * @param emailAddress the emailAddress value to set * @return the AzureAppPushReceiver object itself. */
public AzureAppPushReceiver withEmailAddress(String emailAddress) { this.emailAddress = emailAddress; return this; } }