com.microsoft.azure.management.sql.VulnerabilityAssessmentRecurringScansProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-sql Show documentation
Show all versions of azure-mgmt-sql Show documentation
This package contains Microsoft Azure SDK for SQL Management module.
/**
* 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.sql;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Properties of a Vulnerability Assessment recurring scans.
*/
public class VulnerabilityAssessmentRecurringScansProperties {
/**
* Recurring scans state.
*/
@JsonProperty(value = "isEnabled")
private Boolean isEnabled;
/**
* Specifies that the schedule scan notification will be is sent to the
* subscription administrators.
*/
@JsonProperty(value = "emailSubscriptionAdmins")
private Boolean emailSubscriptionAdmins;
/**
* Specifies an array of e-mail addresses to which the scan notification is
* sent.
*/
@JsonProperty(value = "emails")
private List emails;
/**
* Get recurring scans state.
*
* @return the isEnabled value
*/
public Boolean isEnabled() {
return this.isEnabled;
}
/**
* Set recurring scans state.
*
* @param isEnabled the isEnabled value to set
* @return the VulnerabilityAssessmentRecurringScansProperties object itself.
*/
public VulnerabilityAssessmentRecurringScansProperties withIsEnabled(Boolean isEnabled) {
this.isEnabled = isEnabled;
return this;
}
/**
* Get specifies that the schedule scan notification will be is sent to the subscription administrators.
*
* @return the emailSubscriptionAdmins value
*/
public Boolean emailSubscriptionAdmins() {
return this.emailSubscriptionAdmins;
}
/**
* Set specifies that the schedule scan notification will be is sent to the subscription administrators.
*
* @param emailSubscriptionAdmins the emailSubscriptionAdmins value to set
* @return the VulnerabilityAssessmentRecurringScansProperties object itself.
*/
public VulnerabilityAssessmentRecurringScansProperties withEmailSubscriptionAdmins(Boolean emailSubscriptionAdmins) {
this.emailSubscriptionAdmins = emailSubscriptionAdmins;
return this;
}
/**
* Get specifies an array of e-mail addresses to which the scan notification is sent.
*
* @return the emails value
*/
public List emails() {
return this.emails;
}
/**
* Set specifies an array of e-mail addresses to which the scan notification is sent.
*
* @param emails the emails value to set
* @return the VulnerabilityAssessmentRecurringScansProperties object itself.
*/
public VulnerabilityAssessmentRecurringScansProperties withEmails(List emails) {
this.emails = emails;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy