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

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

    public static final GetFirewallPolicyRuleCollectionGroupArgs Empty = new GetFirewallPolicyRuleCollectionGroupArgs();

    /**
     * The name of the Firewall Policy.
     * 
     */
    @Import(name="firewallPolicyName", required=true)
    private Output firewallPolicyName;

    /**
     * @return The name of the Firewall Policy.
     * 
     */
    public Output firewallPolicyName() {
        return this.firewallPolicyName;
    }

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

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

    /**
     * The name of the FirewallPolicyRuleCollectionGroup.
     * 
     */
    @Import(name="ruleCollectionGroupName", required=true)
    private Output ruleCollectionGroupName;

    /**
     * @return The name of the FirewallPolicyRuleCollectionGroup.
     * 
     */
    public Output ruleCollectionGroupName() {
        return this.ruleCollectionGroupName;
    }

    private GetFirewallPolicyRuleCollectionGroupArgs() {}

    private GetFirewallPolicyRuleCollectionGroupArgs(GetFirewallPolicyRuleCollectionGroupArgs $) {
        this.firewallPolicyName = $.firewallPolicyName;
        this.resourceGroupName = $.resourceGroupName;
        this.ruleCollectionGroupName = $.ruleCollectionGroupName;
    }

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

    public static final class Builder {
        private GetFirewallPolicyRuleCollectionGroupArgs $;

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

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

        /**
         * @param firewallPolicyName The name of the Firewall Policy.
         * 
         * @return builder
         * 
         */
        public Builder firewallPolicyName(Output firewallPolicyName) {
            $.firewallPolicyName = firewallPolicyName;
            return this;
        }

        /**
         * @param firewallPolicyName The name of the Firewall Policy.
         * 
         * @return builder
         * 
         */
        public Builder firewallPolicyName(String firewallPolicyName) {
            return firewallPolicyName(Output.of(firewallPolicyName));
        }

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

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

        /**
         * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup.
         * 
         * @return builder
         * 
         */
        public Builder ruleCollectionGroupName(Output ruleCollectionGroupName) {
            $.ruleCollectionGroupName = ruleCollectionGroupName;
            return this;
        }

        /**
         * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup.
         * 
         * @return builder
         * 
         */
        public Builder ruleCollectionGroupName(String ruleCollectionGroupName) {
            return ruleCollectionGroupName(Output.of(ruleCollectionGroupName));
        }

        public GetFirewallPolicyRuleCollectionGroupArgs build() {
            if ($.firewallPolicyName == null) {
                throw new MissingRequiredPropertyException("GetFirewallPolicyRuleCollectionGroupArgs", "firewallPolicyName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetFirewallPolicyRuleCollectionGroupArgs", "resourceGroupName");
            }
            if ($.ruleCollectionGroupName == null) {
                throw new MissingRequiredPropertyException("GetFirewallPolicyRuleCollectionGroupArgs", "ruleCollectionGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy