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

com.pulumi.azurenative.synapse.inputs.GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.synapse.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs Empty = new GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs();

    /**
     * The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
     * 
     */
    @Import(name="baselineName", required=true)
    private String baselineName;

    /**
     * @return The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
     * 
     */
    public String baselineName() {
        return this.baselineName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The vulnerability assessment rule ID.
     * 
     */
    @Import(name="ruleId", required=true)
    private String ruleId;

    /**
     * @return The vulnerability assessment rule ID.
     * 
     */
    public String ruleId() {
        return this.ruleId;
    }

    /**
     * SQL pool name
     * 
     */
    @Import(name="sqlPoolName", required=true)
    private String sqlPoolName;

    /**
     * @return SQL pool name
     * 
     */
    public String sqlPoolName() {
        return this.sqlPoolName;
    }

    /**
     * The name of the vulnerability assessment.
     * 
     */
    @Import(name="vulnerabilityAssessmentName", required=true)
    private String vulnerabilityAssessmentName;

    /**
     * @return The name of the vulnerability assessment.
     * 
     */
    public String vulnerabilityAssessmentName() {
        return this.vulnerabilityAssessmentName;
    }

    /**
     * The name of the workspace.
     * 
     */
    @Import(name="workspaceName", required=true)
    private String workspaceName;

    /**
     * @return The name of the workspace.
     * 
     */
    public String workspaceName() {
        return this.workspaceName;
    }

    private GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs() {}

    private GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs(GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs $) {
        this.baselineName = $.baselineName;
        this.resourceGroupName = $.resourceGroupName;
        this.ruleId = $.ruleId;
        this.sqlPoolName = $.sqlPoolName;
        this.vulnerabilityAssessmentName = $.vulnerabilityAssessmentName;
        this.workspaceName = $.workspaceName;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs $;

        public Builder() {
            $ = new GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs();
        }

        public Builder(GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs defaults) {
            $ = new GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param baselineName The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
         * 
         * @return builder
         * 
         */
        public Builder baselineName(String baselineName) {
            $.baselineName = baselineName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param ruleId The vulnerability assessment rule ID.
         * 
         * @return builder
         * 
         */
        public Builder ruleId(String ruleId) {
            $.ruleId = ruleId;
            return this;
        }

        /**
         * @param sqlPoolName SQL pool name
         * 
         * @return builder
         * 
         */
        public Builder sqlPoolName(String sqlPoolName) {
            $.sqlPoolName = sqlPoolName;
            return this;
        }

        /**
         * @param vulnerabilityAssessmentName The name of the vulnerability assessment.
         * 
         * @return builder
         * 
         */
        public Builder vulnerabilityAssessmentName(String vulnerabilityAssessmentName) {
            $.vulnerabilityAssessmentName = vulnerabilityAssessmentName;
            return this;
        }

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        public GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs build() {
            if ($.baselineName == null) {
                throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs", "baselineName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs", "resourceGroupName");
            }
            if ($.ruleId == null) {
                throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs", "ruleId");
            }
            if ($.sqlPoolName == null) {
                throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs", "sqlPoolName");
            }
            if ($.vulnerabilityAssessmentName == null) {
                throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs", "vulnerabilityAssessmentName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("GetSqlPoolVulnerabilityAssessmentRuleBaselinePlainArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy