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

com.pulumi.azure.frontdoor.inputs.RulesEngineState 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.frontdoor.inputs;

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


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

    public static final RulesEngineState Empty = new RulesEngineState();

    /**
     * Whether this Rules engine configuration is enabled? Defaults to `true`.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Whether this Rules engine configuration is enabled? Defaults to `true`.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * The name of the Front Door instance. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="frontdoorName")
    private @Nullable Output frontdoorName;

    /**
     * @return The name of the Front Door instance. Changing this forces a new resource to be created.
     * 
     */
    public Optional> frontdoorName() {
        return Optional.ofNullable(this.frontdoorName);
    }

    @Import(name="location")
    private @Nullable Output location;

    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the Rules engine configuration. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the Rules engine configuration. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the resource group. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the resource group. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * A `rule` block as defined below.
     * 
     */
    @Import(name="rules")
    private @Nullable Output> rules;

    /**
     * @return A `rule` block as defined below.
     * 
     */
    public Optional>> rules() {
        return Optional.ofNullable(this.rules);
    }

    private RulesEngineState() {}

    private RulesEngineState(RulesEngineState $) {
        this.enabled = $.enabled;
        this.frontdoorName = $.frontdoorName;
        this.location = $.location;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.rules = $.rules;
    }

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

    public static final class Builder {
        private RulesEngineState $;

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

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

        /**
         * @param enabled Whether this Rules engine configuration is enabled? Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Whether this Rules engine configuration is enabled? Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param frontdoorName The name of the Front Door instance. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder frontdoorName(@Nullable Output frontdoorName) {
            $.frontdoorName = frontdoorName;
            return this;
        }

        /**
         * @param frontdoorName The name of the Front Door instance. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder frontdoorName(String frontdoorName) {
            return frontdoorName(Output.of(frontdoorName));
        }

        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name The name of the Rules engine configuration. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the Rules engine configuration. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName The name of the resource group. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param rules A `rule` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder rules(@Nullable Output> rules) {
            $.rules = rules;
            return this;
        }

        /**
         * @param rules A `rule` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder rules(List rules) {
            return rules(Output.of(rules));
        }

        /**
         * @param rules A `rule` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder rules(RulesEngineRuleArgs... rules) {
            return rules(List.of(rules));
        }

        public RulesEngineState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy