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

com.pulumi.azurenative.network.outputs.ManagedRuleExclusionResponse 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.outputs;

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

@CustomType
public final class ManagedRuleExclusionResponse {
    /**
     * @return The variable type to be excluded.
     * 
     */
    private String matchVariable;
    /**
     * @return Selector value for which elements in the collection this exclusion applies to.
     * 
     */
    private String selector;
    /**
     * @return Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
     * 
     */
    private String selectorMatchOperator;

    private ManagedRuleExclusionResponse() {}
    /**
     * @return The variable type to be excluded.
     * 
     */
    public String matchVariable() {
        return this.matchVariable;
    }
    /**
     * @return Selector value for which elements in the collection this exclusion applies to.
     * 
     */
    public String selector() {
        return this.selector;
    }
    /**
     * @return Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
     * 
     */
    public String selectorMatchOperator() {
        return this.selectorMatchOperator;
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy