
com.pulumi.azurenative.botservice.kotlin.inputs.TelephonyChannelResourceApiConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.botservice.kotlin.inputs
import com.pulumi.azurenative.botservice.inputs.TelephonyChannelResourceApiConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A resource Api configuration for the Telephony channel
* @property cognitiveServiceRegion The cognitive service region.
* @property cognitiveServiceResourceId The cognitive service resourceId.
* @property cognitiveServiceSubscriptionKey The cognitive service subscription key.
* @property defaultLocale The default locale.
* @property id The id of config.
* @property providerName The provider name.
*/
public data class TelephonyChannelResourceApiConfigurationArgs(
public val cognitiveServiceRegion: Output? = null,
public val cognitiveServiceResourceId: Output? = null,
public val cognitiveServiceSubscriptionKey: Output? = null,
public val defaultLocale: Output? = null,
public val id: Output? = null,
public val providerName: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.botservice.inputs.TelephonyChannelResourceApiConfigurationArgs =
com.pulumi.azurenative.botservice.inputs.TelephonyChannelResourceApiConfigurationArgs.builder()
.cognitiveServiceRegion(cognitiveServiceRegion?.applyValue({ args0 -> args0 }))
.cognitiveServiceResourceId(cognitiveServiceResourceId?.applyValue({ args0 -> args0 }))
.cognitiveServiceSubscriptionKey(cognitiveServiceSubscriptionKey?.applyValue({ args0 -> args0 }))
.defaultLocale(defaultLocale?.applyValue({ args0 -> args0 }))
.id(id?.applyValue({ args0 -> args0 }))
.providerName(providerName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TelephonyChannelResourceApiConfigurationArgs].
*/
@PulumiTagMarker
public class TelephonyChannelResourceApiConfigurationArgsBuilder internal constructor() {
private var cognitiveServiceRegion: Output? = null
private var cognitiveServiceResourceId: Output? = null
private var cognitiveServiceSubscriptionKey: Output? = null
private var defaultLocale: Output? = null
private var id: Output? = null
private var providerName: Output? = null
/**
* @param value The cognitive service region.
*/
@JvmName("nqdtibyhnvxpxqea")
public suspend fun cognitiveServiceRegion(`value`: Output) {
this.cognitiveServiceRegion = value
}
/**
* @param value The cognitive service resourceId.
*/
@JvmName("qvuymvvmdwkpfhmd")
public suspend fun cognitiveServiceResourceId(`value`: Output) {
this.cognitiveServiceResourceId = value
}
/**
* @param value The cognitive service subscription key.
*/
@JvmName("komoktnaleeqjnxq")
public suspend fun cognitiveServiceSubscriptionKey(`value`: Output) {
this.cognitiveServiceSubscriptionKey = value
}
/**
* @param value The default locale.
*/
@JvmName("nvrvbgbybihtvysi")
public suspend fun defaultLocale(`value`: Output) {
this.defaultLocale = value
}
/**
* @param value The id of config.
*/
@JvmName("cmlwsqkllinyhvku")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The provider name.
*/
@JvmName("sqemvxapvbyyevnb")
public suspend fun providerName(`value`: Output) {
this.providerName = value
}
/**
* @param value The cognitive service region.
*/
@JvmName("upitgrytsnrweawp")
public suspend fun cognitiveServiceRegion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cognitiveServiceRegion = mapped
}
/**
* @param value The cognitive service resourceId.
*/
@JvmName("waxkorigavgsreas")
public suspend fun cognitiveServiceResourceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cognitiveServiceResourceId = mapped
}
/**
* @param value The cognitive service subscription key.
*/
@JvmName("vtqevnycdrirffag")
public suspend fun cognitiveServiceSubscriptionKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cognitiveServiceSubscriptionKey = mapped
}
/**
* @param value The default locale.
*/
@JvmName("wehkbpudlwknajam")
public suspend fun defaultLocale(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.defaultLocale = mapped
}
/**
* @param value The id of config.
*/
@JvmName("bkctahrrlchvgojf")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The provider name.
*/
@JvmName("xaqnyyeetshfojcj")
public suspend fun providerName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.providerName = mapped
}
internal fun build(): TelephonyChannelResourceApiConfigurationArgs =
TelephonyChannelResourceApiConfigurationArgs(
cognitiveServiceRegion = cognitiveServiceRegion,
cognitiveServiceResourceId = cognitiveServiceResourceId,
cognitiveServiceSubscriptionKey = cognitiveServiceSubscriptionKey,
defaultLocale = defaultLocale,
id = id,
providerName = providerName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy