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

com.pulumi.azure.waf.inputs.PolicyManagedRulesExclusionExcludedRuleSetArgs 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.waf.inputs;

import com.pulumi.azure.waf.inputs.PolicyManagedRulesExclusionExcludedRuleSetRuleGroupArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class PolicyManagedRulesExclusionExcludedRuleSetArgs extends com.pulumi.resources.ResourceArgs {

    public static final PolicyManagedRulesExclusionExcludedRuleSetArgs Empty = new PolicyManagedRulesExclusionExcludedRuleSetArgs();

    /**
     * One or more `rule_group` block defined below.
     * 
     */
    @Import(name="ruleGroups")
    private @Nullable Output> ruleGroups;

    /**
     * @return One or more `rule_group` block defined below.
     * 
     */
    public Optional>> ruleGroups() {
        return Optional.ofNullable(this.ruleGroups);
    }

    /**
     * The rule set type. Possible values are `Microsoft_DefaultRuleSet`, `Microsoft_BotManagerRuleSet` and `OWASP`. Defaults to `OWASP`.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return The rule set type. Possible values are `Microsoft_DefaultRuleSet`, `Microsoft_BotManagerRuleSet` and `OWASP`. Defaults to `OWASP`.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    /**
     * The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private PolicyManagedRulesExclusionExcludedRuleSetArgs() {}

    private PolicyManagedRulesExclusionExcludedRuleSetArgs(PolicyManagedRulesExclusionExcludedRuleSetArgs $) {
        this.ruleGroups = $.ruleGroups;
        this.type = $.type;
        this.version = $.version;
    }

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

    public static final class Builder {
        private PolicyManagedRulesExclusionExcludedRuleSetArgs $;

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

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

        /**
         * @param ruleGroups One or more `rule_group` block defined below.
         * 
         * @return builder
         * 
         */
        public Builder ruleGroups(@Nullable Output> ruleGroups) {
            $.ruleGroups = ruleGroups;
            return this;
        }

        /**
         * @param ruleGroups One or more `rule_group` block defined below.
         * 
         * @return builder
         * 
         */
        public Builder ruleGroups(List ruleGroups) {
            return ruleGroups(Output.of(ruleGroups));
        }

        /**
         * @param ruleGroups One or more `rule_group` block defined below.
         * 
         * @return builder
         * 
         */
        public Builder ruleGroups(PolicyManagedRulesExclusionExcludedRuleSetRuleGroupArgs... ruleGroups) {
            return ruleGroups(List.of(ruleGroups));
        }

        /**
         * @param type The rule set type. Possible values are `Microsoft_DefaultRuleSet`, `Microsoft_BotManagerRuleSet` and `OWASP`. Defaults to `OWASP`.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The rule set type. Possible values are `Microsoft_DefaultRuleSet`, `Microsoft_BotManagerRuleSet` and `OWASP`. Defaults to `OWASP`.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        /**
         * @param version The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version The rule set version. Possible values are `1.0` (for rule set type `Microsoft_BotManagerRuleSet`), `2.1` (for rule set type `Microsoft_DefaultRuleSet`) and `3.2` (for rule set type `OWASP`). Defaults to `3.2`.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public PolicyManagedRulesExclusionExcludedRuleSetArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy