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

com.pulumi.azurenative.security.inputs.GetSqlVulnerabilityAssessmentBaselineRuleArgs 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.security.inputs;

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


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

    public static final GetSqlVulnerabilityAssessmentBaselineRuleArgs Empty = new GetSqlVulnerabilityAssessmentBaselineRuleArgs();

    /**
     * The identifier of the resource.
     * 
     */
    @Import(name="resourceId", required=true)
    private Output resourceId;

    /**
     * @return The identifier of the resource.
     * 
     */
    public Output resourceId() {
        return this.resourceId;
    }

    /**
     * The rule Id.
     * 
     */
    @Import(name="ruleId", required=true)
    private Output ruleId;

    /**
     * @return The rule Id.
     * 
     */
    public Output ruleId() {
        return this.ruleId;
    }

    /**
     * The workspace Id.
     * 
     */
    @Import(name="workspaceId", required=true)
    private Output workspaceId;

    /**
     * @return The workspace Id.
     * 
     */
    public Output workspaceId() {
        return this.workspaceId;
    }

    private GetSqlVulnerabilityAssessmentBaselineRuleArgs() {}

    private GetSqlVulnerabilityAssessmentBaselineRuleArgs(GetSqlVulnerabilityAssessmentBaselineRuleArgs $) {
        this.resourceId = $.resourceId;
        this.ruleId = $.ruleId;
        this.workspaceId = $.workspaceId;
    }

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

    public static final class Builder {
        private GetSqlVulnerabilityAssessmentBaselineRuleArgs $;

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

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

        /**
         * @param resourceId The identifier of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(Output resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        /**
         * @param resourceId The identifier of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            return resourceId(Output.of(resourceId));
        }

        /**
         * @param ruleId The rule Id.
         * 
         * @return builder
         * 
         */
        public Builder ruleId(Output ruleId) {
            $.ruleId = ruleId;
            return this;
        }

        /**
         * @param ruleId The rule Id.
         * 
         * @return builder
         * 
         */
        public Builder ruleId(String ruleId) {
            return ruleId(Output.of(ruleId));
        }

        /**
         * @param workspaceId The workspace Id.
         * 
         * @return builder
         * 
         */
        public Builder workspaceId(Output workspaceId) {
            $.workspaceId = workspaceId;
            return this;
        }

        /**
         * @param workspaceId The workspace Id.
         * 
         * @return builder
         * 
         */
        public Builder workspaceId(String workspaceId) {
            return workspaceId(Output.of(workspaceId));
        }

        public GetSqlVulnerabilityAssessmentBaselineRuleArgs build() {
            if ($.resourceId == null) {
                throw new MissingRequiredPropertyException("GetSqlVulnerabilityAssessmentBaselineRuleArgs", "resourceId");
            }
            if ($.ruleId == null) {
                throw new MissingRequiredPropertyException("GetSqlVulnerabilityAssessmentBaselineRuleArgs", "ruleId");
            }
            if ($.workspaceId == null) {
                throw new MissingRequiredPropertyException("GetSqlVulnerabilityAssessmentBaselineRuleArgs", "workspaceId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy