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

com.pulumi.azure.frontdoor.inputs.FirewallPolicyManagedRuleExclusionArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.15.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.azure.frontdoor.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 FirewallPolicyManagedRuleExclusionArgs extends com.pulumi.resources.ResourceArgs {

    public static final FirewallPolicyManagedRuleExclusionArgs Empty = new FirewallPolicyManagedRuleExclusionArgs();

    /**
     * The variable type to be excluded. Possible values are `QueryStringArgNames`, `RequestBodyPostArgNames`, `RequestCookieNames`, `RequestHeaderNames`.
     * 
     */
    @Import(name="matchVariable", required=true)
    private Output matchVariable;

    /**
     * @return The variable type to be excluded. Possible values are `QueryStringArgNames`, `RequestBodyPostArgNames`, `RequestCookieNames`, `RequestHeaderNames`.
     * 
     */
    public Output matchVariable() {
        return this.matchVariable;
    }

    /**
     * Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are: `Equals`, `Contains`, `StartsWith`, `EndsWith`, `EqualsAny`.
     * 
     */
    @Import(name="operator", required=true)
    private Output operator;

    /**
     * @return Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are: `Equals`, `Contains`, `StartsWith`, `EndsWith`, `EqualsAny`.
     * 
     */
    public Output operator() {
        return this.operator;
    }

    /**
     * Selector for the value in the `match_variable` attribute this exclusion applies to.
     * 
     */
    @Import(name="selector", required=true)
    private Output selector;

    /**
     * @return Selector for the value in the `match_variable` attribute this exclusion applies to.
     * 
     */
    public Output selector() {
        return this.selector;
    }

    private FirewallPolicyManagedRuleExclusionArgs() {}

    private FirewallPolicyManagedRuleExclusionArgs(FirewallPolicyManagedRuleExclusionArgs $) {
        this.matchVariable = $.matchVariable;
        this.operator = $.operator;
        this.selector = $.selector;
    }

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

    public static final class Builder {
        private FirewallPolicyManagedRuleExclusionArgs $;

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

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

        /**
         * @param matchVariable The variable type to be excluded. Possible values are `QueryStringArgNames`, `RequestBodyPostArgNames`, `RequestCookieNames`, `RequestHeaderNames`.
         * 
         * @return builder
         * 
         */
        public Builder matchVariable(Output matchVariable) {
            $.matchVariable = matchVariable;
            return this;
        }

        /**
         * @param matchVariable The variable type to be excluded. Possible values are `QueryStringArgNames`, `RequestBodyPostArgNames`, `RequestCookieNames`, `RequestHeaderNames`.
         * 
         * @return builder
         * 
         */
        public Builder matchVariable(String matchVariable) {
            return matchVariable(Output.of(matchVariable));
        }

        /**
         * @param operator Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are: `Equals`, `Contains`, `StartsWith`, `EndsWith`, `EqualsAny`.
         * 
         * @return builder
         * 
         */
        public Builder operator(Output operator) {
            $.operator = operator;
            return this;
        }

        /**
         * @param operator Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are: `Equals`, `Contains`, `StartsWith`, `EndsWith`, `EqualsAny`.
         * 
         * @return builder
         * 
         */
        public Builder operator(String operator) {
            return operator(Output.of(operator));
        }

        /**
         * @param selector Selector for the value in the `match_variable` attribute this exclusion applies to.
         * 
         * @return builder
         * 
         */
        public Builder selector(Output selector) {
            $.selector = selector;
            return this;
        }

        /**
         * @param selector Selector for the value in the `match_variable` attribute this exclusion applies to.
         * 
         * @return builder
         * 
         */
        public Builder selector(String selector) {
            return selector(Output.of(selector));
        }

        public FirewallPolicyManagedRuleExclusionArgs build() {
            if ($.matchVariable == null) {
                throw new MissingRequiredPropertyException("FirewallPolicyManagedRuleExclusionArgs", "matchVariable");
            }
            if ($.operator == null) {
                throw new MissingRequiredPropertyException("FirewallPolicyManagedRuleExclusionArgs", "operator");
            }
            if ($.selector == null) {
                throw new MissingRequiredPropertyException("FirewallPolicyManagedRuleExclusionArgs", "selector");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy