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

com.pulumi.azure.cdn.outputs.FrontdoorFirewallPolicyManagedRuleOverrideExclusion 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.10.0-alpha.1731737215
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.cdn.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class FrontdoorFirewallPolicyManagedRuleOverrideExclusion {
    /**
     * @return The variable type to be excluded. Possible values are `QueryStringArgNames`, `RequestBodyPostArgNames`, `RequestCookieNames`, `RequestHeaderNames`, `RequestBodyJsonArgNames`
     * 
     * > **NOTE:** `RequestBodyJsonArgNames` is only available on Default Rule Set (DRS) 2.0 or later
     * 
     */
    private String matchVariable;
    /**
     * @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`.
     * 
     */
    private String operator;
    /**
     * @return Selector for the value in the `match_variable` attribute this exclusion applies to.
     * 
     * > **NOTE:** `selector` must be set to `*` if `operator` is set to `EqualsAny`.
     * 
     */
    private String selector;

    private FrontdoorFirewallPolicyManagedRuleOverrideExclusion() {}
    /**
     * @return The variable type to be excluded. Possible values are `QueryStringArgNames`, `RequestBodyPostArgNames`, `RequestCookieNames`, `RequestHeaderNames`, `RequestBodyJsonArgNames`
     * 
     * > **NOTE:** `RequestBodyJsonArgNames` is only available on Default Rule Set (DRS) 2.0 or later
     * 
     */
    public String matchVariable() {
        return this.matchVariable;
    }
    /**
     * @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 String operator() {
        return this.operator;
    }
    /**
     * @return Selector for the value in the `match_variable` attribute this exclusion applies to.
     * 
     * > **NOTE:** `selector` must be set to `*` if `operator` is set to `EqualsAny`.
     * 
     */
    public String selector() {
        return this.selector;
    }

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

    public static Builder builder(FrontdoorFirewallPolicyManagedRuleOverrideExclusion defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String matchVariable;
        private String operator;
        private String selector;
        public Builder() {}
        public Builder(FrontdoorFirewallPolicyManagedRuleOverrideExclusion defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.matchVariable = defaults.matchVariable;
    	      this.operator = defaults.operator;
    	      this.selector = defaults.selector;
        }

        @CustomType.Setter
        public Builder matchVariable(String matchVariable) {
            if (matchVariable == null) {
              throw new MissingRequiredPropertyException("FrontdoorFirewallPolicyManagedRuleOverrideExclusion", "matchVariable");
            }
            this.matchVariable = matchVariable;
            return this;
        }
        @CustomType.Setter
        public Builder operator(String operator) {
            if (operator == null) {
              throw new MissingRequiredPropertyException("FrontdoorFirewallPolicyManagedRuleOverrideExclusion", "operator");
            }
            this.operator = operator;
            return this;
        }
        @CustomType.Setter
        public Builder selector(String selector) {
            if (selector == null) {
              throw new MissingRequiredPropertyException("FrontdoorFirewallPolicyManagedRuleOverrideExclusion", "selector");
            }
            this.selector = selector;
            return this;
        }
        public FrontdoorFirewallPolicyManagedRuleOverrideExclusion build() {
            final var _resultValue = new FrontdoorFirewallPolicyManagedRuleOverrideExclusion();
            _resultValue.matchVariable = matchVariable;
            _resultValue.operator = operator;
            _resultValue.selector = selector;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy