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

com.pulumi.azurenative.botservice.inputs.TelephonyChannelResourceApiConfigurationArgs 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.botservice.inputs;

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


/**
 * A resource Api configuration for the Telephony channel
 * 
 */
public final class TelephonyChannelResourceApiConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final TelephonyChannelResourceApiConfigurationArgs Empty = new TelephonyChannelResourceApiConfigurationArgs();

    /**
     * The cognitive service region.
     * 
     */
    @Import(name="cognitiveServiceRegion")
    private @Nullable Output cognitiveServiceRegion;

    /**
     * @return The cognitive service region.
     * 
     */
    public Optional> cognitiveServiceRegion() {
        return Optional.ofNullable(this.cognitiveServiceRegion);
    }

    /**
     * The cognitive service resourceId.
     * 
     */
    @Import(name="cognitiveServiceResourceId")
    private @Nullable Output cognitiveServiceResourceId;

    /**
     * @return The cognitive service resourceId.
     * 
     */
    public Optional> cognitiveServiceResourceId() {
        return Optional.ofNullable(this.cognitiveServiceResourceId);
    }

    /**
     * The cognitive service subscription key.
     * 
     */
    @Import(name="cognitiveServiceSubscriptionKey")
    private @Nullable Output cognitiveServiceSubscriptionKey;

    /**
     * @return The cognitive service subscription key.
     * 
     */
    public Optional> cognitiveServiceSubscriptionKey() {
        return Optional.ofNullable(this.cognitiveServiceSubscriptionKey);
    }

    /**
     * The default locale.
     * 
     */
    @Import(name="defaultLocale")
    private @Nullable Output defaultLocale;

    /**
     * @return The default locale.
     * 
     */
    public Optional> defaultLocale() {
        return Optional.ofNullable(this.defaultLocale);
    }

    /**
     * The id of config.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return The id of config.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The provider name.
     * 
     */
    @Import(name="providerName")
    private @Nullable Output providerName;

    /**
     * @return The provider name.
     * 
     */
    public Optional> providerName() {
        return Optional.ofNullable(this.providerName);
    }

    private TelephonyChannelResourceApiConfigurationArgs() {}

    private TelephonyChannelResourceApiConfigurationArgs(TelephonyChannelResourceApiConfigurationArgs $) {
        this.cognitiveServiceRegion = $.cognitiveServiceRegion;
        this.cognitiveServiceResourceId = $.cognitiveServiceResourceId;
        this.cognitiveServiceSubscriptionKey = $.cognitiveServiceSubscriptionKey;
        this.defaultLocale = $.defaultLocale;
        this.id = $.id;
        this.providerName = $.providerName;
    }

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

    public static final class Builder {
        private TelephonyChannelResourceApiConfigurationArgs $;

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

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

        /**
         * @param cognitiveServiceRegion The cognitive service region.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceRegion(@Nullable Output cognitiveServiceRegion) {
            $.cognitiveServiceRegion = cognitiveServiceRegion;
            return this;
        }

        /**
         * @param cognitiveServiceRegion The cognitive service region.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceRegion(String cognitiveServiceRegion) {
            return cognitiveServiceRegion(Output.of(cognitiveServiceRegion));
        }

        /**
         * @param cognitiveServiceResourceId The cognitive service resourceId.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceResourceId(@Nullable Output cognitiveServiceResourceId) {
            $.cognitiveServiceResourceId = cognitiveServiceResourceId;
            return this;
        }

        /**
         * @param cognitiveServiceResourceId The cognitive service resourceId.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceResourceId(String cognitiveServiceResourceId) {
            return cognitiveServiceResourceId(Output.of(cognitiveServiceResourceId));
        }

        /**
         * @param cognitiveServiceSubscriptionKey The cognitive service subscription key.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceSubscriptionKey(@Nullable Output cognitiveServiceSubscriptionKey) {
            $.cognitiveServiceSubscriptionKey = cognitiveServiceSubscriptionKey;
            return this;
        }

        /**
         * @param cognitiveServiceSubscriptionKey The cognitive service subscription key.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceSubscriptionKey(String cognitiveServiceSubscriptionKey) {
            return cognitiveServiceSubscriptionKey(Output.of(cognitiveServiceSubscriptionKey));
        }

        /**
         * @param defaultLocale The default locale.
         * 
         * @return builder
         * 
         */
        public Builder defaultLocale(@Nullable Output defaultLocale) {
            $.defaultLocale = defaultLocale;
            return this;
        }

        /**
         * @param defaultLocale The default locale.
         * 
         * @return builder
         * 
         */
        public Builder defaultLocale(String defaultLocale) {
            return defaultLocale(Output.of(defaultLocale));
        }

        /**
         * @param id The id of config.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The id of config.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param providerName The provider name.
         * 
         * @return builder
         * 
         */
        public Builder providerName(@Nullable Output providerName) {
            $.providerName = providerName;
            return this;
        }

        /**
         * @param providerName The provider name.
         * 
         * @return builder
         * 
         */
        public Builder providerName(String providerName) {
            return providerName(Output.of(providerName));
        }

        public TelephonyChannelResourceApiConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy