
com.microsoft.azure.management.monitor.EmailNotification 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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Email notification of an autoscale event.
*/
public class EmailNotification {
/**
* a value indicating whether to send email to subscription administrator.
*/
@JsonProperty(value = "sendToSubscriptionAdministrator")
private Boolean sendToSubscriptionAdministrator;
/**
* a value indicating whether to send email to subscription
* co-administrators.
*/
@JsonProperty(value = "sendToSubscriptionCoAdministrators")
private Boolean sendToSubscriptionCoAdministrators;
/**
* the custom e-mails list. This value can be null or empty, in which case
* this attribute will be ignored.
*/
@JsonProperty(value = "customEmails")
private List customEmails;
/**
* Get a value indicating whether to send email to subscription administrator.
*
* @return the sendToSubscriptionAdministrator value
*/
public Boolean sendToSubscriptionAdministrator() {
return this.sendToSubscriptionAdministrator;
}
/**
* Set a value indicating whether to send email to subscription administrator.
*
* @param sendToSubscriptionAdministrator the sendToSubscriptionAdministrator value to set
* @return the EmailNotification object itself.
*/
public EmailNotification withSendToSubscriptionAdministrator(Boolean sendToSubscriptionAdministrator) {
this.sendToSubscriptionAdministrator = sendToSubscriptionAdministrator;
return this;
}
/**
* Get a value indicating whether to send email to subscription co-administrators.
*
* @return the sendToSubscriptionCoAdministrators value
*/
public Boolean sendToSubscriptionCoAdministrators() {
return this.sendToSubscriptionCoAdministrators;
}
/**
* Set a value indicating whether to send email to subscription co-administrators.
*
* @param sendToSubscriptionCoAdministrators the sendToSubscriptionCoAdministrators value to set
* @return the EmailNotification object itself.
*/
public EmailNotification withSendToSubscriptionCoAdministrators(Boolean sendToSubscriptionCoAdministrators) {
this.sendToSubscriptionCoAdministrators = sendToSubscriptionCoAdministrators;
return this;
}
/**
* Get the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.
*
* @return the customEmails value
*/
public List customEmails() {
return this.customEmails;
}
/**
* Set the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.
*
* @param customEmails the customEmails value to set
* @return the EmailNotification object itself.
*/
public EmailNotification withCustomEmails(List customEmails) {
this.customEmails = customEmails;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy