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

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ChannelTeamsArgs Empty = new ChannelTeamsArgs();

    /**
     * The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="botName", required=true)
    private Output botName;

    /**
     * @return The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
     * 
     */
    public Output botName() {
        return this.botName;
    }

    /**
     * Specifies the webhook for Microsoft Teams channel calls.
     * 
     */
    @Import(name="callingWebHook")
    private @Nullable Output callingWebHook;

    /**
     * @return Specifies the webhook for Microsoft Teams channel calls.
     * 
     */
    public Optional> callingWebHook() {
        return Optional.ofNullable(this.callingWebHook);
    }

    /**
     * The deployment environment for Microsoft Teams channel calls. Possible values are `CommercialDeployment` and `GCCModerateDeployment`. Defaults to `CommercialDeployment`.
     * 
     */
    @Import(name="deploymentEnvironment")
    private @Nullable Output deploymentEnvironment;

    /**
     * @return The deployment environment for Microsoft Teams channel calls. Possible values are `CommercialDeployment` and `GCCModerateDeployment`. Defaults to `CommercialDeployment`.
     * 
     */
    public Optional> deploymentEnvironment() {
        return Optional.ofNullable(this.deploymentEnvironment);
    }

    /**
     * Specifies whether to enable Microsoft Teams channel calls. This defaults to `false`.
     * 
     */
    @Import(name="enableCalling")
    private @Nullable Output enableCalling;

    /**
     * @return Specifies whether to enable Microsoft Teams channel calls. This defaults to `false`.
     * 
     */
    public Optional> enableCalling() {
        return Optional.ofNullable(this.enableCalling);
    }

    /**
     * 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);
    }

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

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

    private ChannelTeamsArgs() {}

    private ChannelTeamsArgs(ChannelTeamsArgs $) {
        this.botName = $.botName;
        this.callingWebHook = $.callingWebHook;
        this.deploymentEnvironment = $.deploymentEnvironment;
        this.enableCalling = $.enableCalling;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private ChannelTeamsArgs $;

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

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

        /**
         * @param botName The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder botName(Output botName) {
            $.botName = botName;
            return this;
        }

        /**
         * @param botName The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder botName(String botName) {
            return botName(Output.of(botName));
        }

        /**
         * @param callingWebHook Specifies the webhook for Microsoft Teams channel calls.
         * 
         * @return builder
         * 
         */
        public Builder callingWebHook(@Nullable Output callingWebHook) {
            $.callingWebHook = callingWebHook;
            return this;
        }

        /**
         * @param callingWebHook Specifies the webhook for Microsoft Teams channel calls.
         * 
         * @return builder
         * 
         */
        public Builder callingWebHook(String callingWebHook) {
            return callingWebHook(Output.of(callingWebHook));
        }

        /**
         * @param deploymentEnvironment The deployment environment for Microsoft Teams channel calls. Possible values are `CommercialDeployment` and `GCCModerateDeployment`. Defaults to `CommercialDeployment`.
         * 
         * @return builder
         * 
         */
        public Builder deploymentEnvironment(@Nullable Output deploymentEnvironment) {
            $.deploymentEnvironment = deploymentEnvironment;
            return this;
        }

        /**
         * @param deploymentEnvironment The deployment environment for Microsoft Teams channel calls. Possible values are `CommercialDeployment` and `GCCModerateDeployment`. Defaults to `CommercialDeployment`.
         * 
         * @return builder
         * 
         */
        public Builder deploymentEnvironment(String deploymentEnvironment) {
            return deploymentEnvironment(Output.of(deploymentEnvironment));
        }

        /**
         * @param enableCalling Specifies whether to enable Microsoft Teams channel calls. This defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder enableCalling(@Nullable Output enableCalling) {
            $.enableCalling = enableCalling;
            return this;
        }

        /**
         * @param enableCalling Specifies whether to enable Microsoft Teams channel calls. This defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder enableCalling(Boolean enableCalling) {
            return enableCalling(Output.of(enableCalling));
        }

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

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

        public ChannelTeamsArgs build() {
            if ($.botName == null) {
                throw new MissingRequiredPropertyException("ChannelTeamsArgs", "botName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ChannelTeamsArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy