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

com.pulumi.azure.bot.inputs.WebAppState 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.bot.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WebAppState Empty = new WebAppState();

    /**
     * The Application Insights API Key to associate with the Web App Bot.
     * 
     */
    @Import(name="developerAppInsightsApiKey")
    private @Nullable Output developerAppInsightsApiKey;

    /**
     * @return The Application Insights API Key to associate with the Web App Bot.
     * 
     */
    public Optional> developerAppInsightsApiKey() {
        return Optional.ofNullable(this.developerAppInsightsApiKey);
    }

    /**
     * The Application Insights Application ID to associate with the Web App Bot.
     * 
     */
    @Import(name="developerAppInsightsApplicationId")
    private @Nullable Output developerAppInsightsApplicationId;

    /**
     * @return The Application Insights Application ID to associate with the Web App Bot.
     * 
     */
    public Optional> developerAppInsightsApplicationId() {
        return Optional.ofNullable(this.developerAppInsightsApplicationId);
    }

    /**
     * The Application Insights Key to associate with the Web App Bot.
     * 
     */
    @Import(name="developerAppInsightsKey")
    private @Nullable Output developerAppInsightsKey;

    /**
     * @return The Application Insights Key to associate with the Web App Bot.
     * 
     */
    public Optional> developerAppInsightsKey() {
        return Optional.ofNullable(this.developerAppInsightsKey);
    }

    /**
     * The name of the Web App Bot will be displayed as. This defaults to `name` if not specified.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return The name of the Web App Bot will be displayed as. This defaults to `name` if not specified.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * The Web App Bot endpoint.
     * 
     */
    @Import(name="endpoint")
    private @Nullable Output endpoint;

    /**
     * @return The Web App Bot endpoint.
     * 
     */
    public Optional> endpoint() {
        return Optional.ofNullable(this.endpoint);
    }

    /**
     * The supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * A list of LUIS App IDs to associate with the Web App Bot.
     * 
     */
    @Import(name="luisAppIds")
    private @Nullable Output> luisAppIds;

    /**
     * @return A list of LUIS App IDs to associate with the Web App Bot.
     * 
     */
    public Optional>> luisAppIds() {
        return Optional.ofNullable(this.luisAppIds);
    }

    /**
     * The LUIS key to associate with the Web App Bot.
     * 
     */
    @Import(name="luisKey")
    private @Nullable Output luisKey;

    /**
     * @return The LUIS key to associate with the Web App Bot.
     * 
     */
    public Optional> luisKey() {
        return Optional.ofNullable(this.luisKey);
    }

    /**
     * The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="microsoftAppId")
    private @Nullable Output microsoftAppId;

    /**
     * @return The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.
     * 
     */
    public Optional> microsoftAppId() {
        return Optional.ofNullable(this.microsoftAppId);
    }

    /**
     * Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

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

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

    /**
     * The SKU of the Web App Bot. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="sku")
    private @Nullable Output sku;

    /**
     * @return The SKU of the Web App Bot. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.
     * 
     */
    public Optional> sku() {
        return Optional.ofNullable(this.sku);
    }

    /**
     * A mapping of tags to assign to the resource.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags to assign to the resource.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private WebAppState() {}

    private WebAppState(WebAppState $) {
        this.developerAppInsightsApiKey = $.developerAppInsightsApiKey;
        this.developerAppInsightsApplicationId = $.developerAppInsightsApplicationId;
        this.developerAppInsightsKey = $.developerAppInsightsKey;
        this.displayName = $.displayName;
        this.endpoint = $.endpoint;
        this.location = $.location;
        this.luisAppIds = $.luisAppIds;
        this.luisKey = $.luisKey;
        this.microsoftAppId = $.microsoftAppId;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.sku = $.sku;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private WebAppState $;

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

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

        /**
         * @param developerAppInsightsApiKey The Application Insights API Key to associate with the Web App Bot.
         * 
         * @return builder
         * 
         */
        public Builder developerAppInsightsApiKey(@Nullable Output developerAppInsightsApiKey) {
            $.developerAppInsightsApiKey = developerAppInsightsApiKey;
            return this;
        }

        /**
         * @param developerAppInsightsApiKey The Application Insights API Key to associate with the Web App Bot.
         * 
         * @return builder
         * 
         */
        public Builder developerAppInsightsApiKey(String developerAppInsightsApiKey) {
            return developerAppInsightsApiKey(Output.of(developerAppInsightsApiKey));
        }

        /**
         * @param developerAppInsightsApplicationId The Application Insights Application ID to associate with the Web App Bot.
         * 
         * @return builder
         * 
         */
        public Builder developerAppInsightsApplicationId(@Nullable Output developerAppInsightsApplicationId) {
            $.developerAppInsightsApplicationId = developerAppInsightsApplicationId;
            return this;
        }

        /**
         * @param developerAppInsightsApplicationId The Application Insights Application ID to associate with the Web App Bot.
         * 
         * @return builder
         * 
         */
        public Builder developerAppInsightsApplicationId(String developerAppInsightsApplicationId) {
            return developerAppInsightsApplicationId(Output.of(developerAppInsightsApplicationId));
        }

        /**
         * @param developerAppInsightsKey The Application Insights Key to associate with the Web App Bot.
         * 
         * @return builder
         * 
         */
        public Builder developerAppInsightsKey(@Nullable Output developerAppInsightsKey) {
            $.developerAppInsightsKey = developerAppInsightsKey;
            return this;
        }

        /**
         * @param developerAppInsightsKey The Application Insights Key to associate with the Web App Bot.
         * 
         * @return builder
         * 
         */
        public Builder developerAppInsightsKey(String developerAppInsightsKey) {
            return developerAppInsightsKey(Output.of(developerAppInsightsKey));
        }

        /**
         * @param displayName The name of the Web App Bot will be displayed as. This defaults to `name` if not specified.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName The name of the Web App Bot will be displayed as. This defaults to `name` if not specified.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param endpoint The Web App Bot endpoint.
         * 
         * @return builder
         * 
         */
        public Builder endpoint(@Nullable Output endpoint) {
            $.endpoint = endpoint;
            return this;
        }

        /**
         * @param endpoint The Web App Bot endpoint.
         * 
         * @return builder
         * 
         */
        public Builder endpoint(String endpoint) {
            return endpoint(Output.of(endpoint));
        }

        /**
         * @param location The supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param luisAppIds A list of LUIS App IDs to associate with the Web App Bot.
         * 
         * @return builder
         * 
         */
        public Builder luisAppIds(@Nullable Output> luisAppIds) {
            $.luisAppIds = luisAppIds;
            return this;
        }

        /**
         * @param luisAppIds A list of LUIS App IDs to associate with the Web App Bot.
         * 
         * @return builder
         * 
         */
        public Builder luisAppIds(List luisAppIds) {
            return luisAppIds(Output.of(luisAppIds));
        }

        /**
         * @param luisAppIds A list of LUIS App IDs to associate with the Web App Bot.
         * 
         * @return builder
         * 
         */
        public Builder luisAppIds(String... luisAppIds) {
            return luisAppIds(List.of(luisAppIds));
        }

        /**
         * @param luisKey The LUIS key to associate with the Web App Bot.
         * 
         * @return builder
         * 
         */
        public Builder luisKey(@Nullable Output luisKey) {
            $.luisKey = luisKey;
            return this;
        }

        /**
         * @param luisKey The LUIS key to associate with the Web App Bot.
         * 
         * @return builder
         * 
         */
        public Builder luisKey(String luisKey) {
            return luisKey(Output.of(luisKey));
        }

        /**
         * @param microsoftAppId The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder microsoftAppId(@Nullable Output microsoftAppId) {
            $.microsoftAppId = microsoftAppId;
            return this;
        }

        /**
         * @param microsoftAppId The Microsoft Application ID for the Web App Bot. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder microsoftAppId(String microsoftAppId) {
            return microsoftAppId(Output.of(microsoftAppId));
        }

        /**
         * @param name Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the Web App Bot. Changing this forces a new resource to be created. Must be globally unique.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Web App Bot. 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 in which to create the Web App Bot. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param sku The SKU of the Web App Bot. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder sku(@Nullable Output sku) {
            $.sku = sku;
            return this;
        }

        /**
         * @param sku The SKU of the Web App Bot. Valid values include `F0` or `S1`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder sku(String sku) {
            return sku(Output.of(sku));
        }

        /**
         * @param tags A mapping of tags to assign to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags to assign to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public WebAppState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy