![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.botservice.kotlin.inputs.LineChannelArgs.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.LineChannelArgs.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
/**
* Line channel definition
* @property channelName The channel name
* Expected value is 'LineChannel'.
* @property etag Entity Tag of the resource
* @property location Specifies the location of the resource.
* @property properties The set of properties specific to line channel resource
*/
public data class LineChannelArgs(
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.LineChannelArgs =
com.pulumi.azurenative.botservice.inputs.LineChannelArgs.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 [LineChannelArgs].
*/
@PulumiTagMarker
public class LineChannelArgsBuilder 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 'LineChannel'.
*/
@JvmName("ybbsxubkfrjyyqle")
public suspend fun channelName(`value`: Output) {
this.channelName = value
}
/**
* @param value Entity Tag of the resource
*/
@JvmName("waqtncciaohctogb")
public suspend fun etag(`value`: Output) {
this.etag = value
}
/**
* @param value Specifies the location of the resource.
*/
@JvmName("bilcjvgafxptvttw")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value The set of properties specific to line channel resource
*/
@JvmName("xswtdtxxhfsevokk")
public suspend fun properties(`value`: Output) {
this.properties = value
}
/**
* @param value The channel name
* Expected value is 'LineChannel'.
*/
@JvmName("gknhjhmfacntrldo")
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("aauqyxlvyrixphgl")
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("jhatperlcevadvqk")
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 line channel resource
*/
@JvmName("kksebgcqsyynognw")
public suspend fun properties(`value`: LineChannelPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.properties = mapped
}
/**
* @param argument The set of properties specific to line channel resource
*/
@JvmName("hadispkcgnhhbnfk")
public suspend fun properties(argument: suspend LineChannelPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = LineChannelPropertiesArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.properties = mapped
}
internal fun build(): LineChannelArgs = LineChannelArgs(
channelName = channelName ?: throw PulumiNullFieldException("channelName"),
etag = etag,
location = location,
properties = properties,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy