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

com.pulumi.azurenative.cloudngfw.inputs.GetLocalRuleArgs 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 GetLocalRuleArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetLocalRuleArgs Empty = new GetLocalRuleArgs();

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

    /**
     * @return LocalRulestack resource name
     * 
     */
    public Output localRulestackName() {
        return this.localRulestackName;
    }

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

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

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

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

    private GetLocalRuleArgs() {}

    private GetLocalRuleArgs(GetLocalRuleArgs $) {
        this.localRulestackName = $.localRulestackName;
        this.priority = $.priority;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetLocalRuleArgs $;

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

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

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

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

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

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

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

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

        public GetLocalRuleArgs build() {
            if ($.localRulestackName == null) {
                throw new MissingRequiredPropertyException("GetLocalRuleArgs", "localRulestackName");
            }
            if ($.priority == null) {
                throw new MissingRequiredPropertyException("GetLocalRuleArgs", "priority");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetLocalRuleArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy