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

com.pulumi.azurenative.cloudngfw.inputs.GetPreRuleArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.cloudngfw.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 GetPreRuleArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetPreRuleArgs Empty = new GetPreRuleArgs();

    /**
     * GlobalRulestack resource name
     * 
     */
    @Import(name="globalRulestackName", required=true)
    private Output globalRulestackName;

    /**
     * @return GlobalRulestack resource name
     * 
     */
    public Output globalRulestackName() {
        return this.globalRulestackName;
    }

    /**
     * Pre Rule priority
     * 
     */
    @Import(name="priority", required=true)
    private Output priority;

    /**
     * @return Pre Rule priority
     * 
     */
    public Output priority() {
        return this.priority;
    }

    private GetPreRuleArgs() {}

    private GetPreRuleArgs(GetPreRuleArgs $) {
        this.globalRulestackName = $.globalRulestackName;
        this.priority = $.priority;
    }

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

    public static final class Builder {
        private GetPreRuleArgs $;

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

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

        /**
         * @param globalRulestackName GlobalRulestack resource name
         * 
         * @return builder
         * 
         */
        public Builder globalRulestackName(Output globalRulestackName) {
            $.globalRulestackName = globalRulestackName;
            return this;
        }

        /**
         * @param globalRulestackName GlobalRulestack resource name
         * 
         * @return builder
         * 
         */
        public Builder globalRulestackName(String globalRulestackName) {
            return globalRulestackName(Output.of(globalRulestackName));
        }

        /**
         * @param priority Pre Rule priority
         * 
         * @return builder
         * 
         */
        public Builder priority(Output priority) {
            $.priority = priority;
            return this;
        }

        /**
         * @param priority Pre Rule priority
         * 
         * @return builder
         * 
         */
        public Builder priority(String priority) {
            return priority(Output.of(priority));
        }

        public GetPreRuleArgs build() {
            if ($.globalRulestackName == null) {
                throw new MissingRequiredPropertyException("GetPreRuleArgs", "globalRulestackName");
            }
            if ($.priority == null) {
                throw new MissingRequiredPropertyException("GetPreRuleArgs", "priority");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy