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

com.pulumi.azurenative.security.inputs.GetSqlVulnerabilityAssessmentBaselineRulePlainArgs 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetSqlVulnerabilityAssessmentBaselineRulePlainArgs Empty = new GetSqlVulnerabilityAssessmentBaselineRulePlainArgs();

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

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

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

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

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

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

    private GetSqlVulnerabilityAssessmentBaselineRulePlainArgs() {}

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

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

    public static final class Builder {
        private GetSqlVulnerabilityAssessmentBaselineRulePlainArgs $;

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

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

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy