![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.botservice.kotlin.inputs.WebChatChannelArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.botservice.kotlin.inputs
import com.pulumi.azurenative.botservice.inputs.WebChatChannelArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Web Chat channel definition
* @property channelName The channel name
* Expected value is 'WebChatChannel'.
* @property etag Entity Tag of the resource
* @property location Specifies the location of the resource.
* @property properties The set of properties specific to Web Chat channel resource
*/
public data class WebChatChannelArgs(
public val channelName: Output,
public val etag: Output? = null,
public val location: Output? = null,
public val properties: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.botservice.inputs.WebChatChannelArgs =
com.pulumi.azurenative.botservice.inputs.WebChatChannelArgs.builder()
.channelName(channelName.applyValue({ args0 -> args0 }))
.etag(etag?.applyValue({ args0 -> args0 }))
.location(location?.applyValue({ args0 -> args0 }))
.properties(properties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [WebChatChannelArgs].
*/
@PulumiTagMarker
public class WebChatChannelArgsBuilder internal constructor() {
private var channelName: Output? = null
private var etag: Output? = null
private var location: Output? = null
private var properties: Output? = null
/**
* @param value The channel name
* Expected value is 'WebChatChannel'.
*/
@JvmName("dwntgrcgbxxmqile")
public suspend fun channelName(`value`: Output) {
this.channelName = value
}
/**
* @param value Entity Tag of the resource
*/
@JvmName("sutxcbmpjlasfrwd")
public suspend fun etag(`value`: Output) {
this.etag = value
}
/**
* @param value Specifies the location of the resource.
*/
@JvmName("nyhqkcrqoroeafmm")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value The set of properties specific to Web Chat channel resource
*/
@JvmName("fkfffpgwfswecdta")
public suspend fun properties(`value`: Output) {
this.properties = value
}
/**
* @param value The channel name
* Expected value is 'WebChatChannel'.
*/
@JvmName("qwlfotapuaqgqhpj")
public suspend fun channelName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.channelName = mapped
}
/**
* @param value Entity Tag of the resource
*/
@JvmName("htoullhynsstfcoe")
public suspend fun etag(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.etag = mapped
}
/**
* @param value Specifies the location of the resource.
*/
@JvmName("lkgwwvdijabknbyn")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value The set of properties specific to Web Chat channel resource
*/
@JvmName("vlipctydfatmpwbf")
public suspend fun properties(`value`: WebChatChannelPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.properties = mapped
}
/**
* @param argument The set of properties specific to Web Chat channel resource
*/
@JvmName("yibmlkpbraolsynh")
public suspend fun properties(argument: suspend WebChatChannelPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = WebChatChannelPropertiesArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.properties = mapped
}
internal fun build(): WebChatChannelArgs = WebChatChannelArgs(
channelName = channelName ?: throw PulumiNullFieldException("channelName"),
etag = etag,
location = location,
properties = properties,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy