![JAR search and dependency download from the Maven repository](/logo.png)
com.microsoft.azure.management.monitor.AzureAppPushReceiver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-monitor Show documentation
Show all versions of azure-mgmt-monitor Show documentation
This package contains Microsoft Azure Monitor SDK.
/**
* 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.
*/
public class AzureAppPushReceiver {
/**
* 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.
*/
@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.
*
* @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.
*
* @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.
*
* @return the emailAddress value
*/
public String emailAddress() {
return this.emailAddress;
}
/**
* 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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy