All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.sql.VulnerabilityAssessmentRecurringScansProperties Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Sql Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 1.41.4
Show newest version
/**
 * 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 - 2024 Weber Informatics LLC | Privacy Policy