com.pulumi.azure.bot.kotlin.inputs.ChannelWebChatSiteArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.bot.kotlin.inputs
import com.pulumi.azure.bot.inputs.ChannelWebChatSiteArgs.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 kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property endpointParametersEnabled Is the endpoint parameters enabled for this site?
* @property name The name of the site.
* @property storageEnabled Is the storage site enabled for detailed logging? Defaults to `true`.
* @property userUploadEnabled Is the user upload enabled for this site? Defaults to `true`.
*/
public data class ChannelWebChatSiteArgs(
public val endpointParametersEnabled: Output? = null,
public val name: Output,
public val storageEnabled: Output? = null,
public val userUploadEnabled: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.bot.inputs.ChannelWebChatSiteArgs =
com.pulumi.azure.bot.inputs.ChannelWebChatSiteArgs.builder()
.endpointParametersEnabled(endpointParametersEnabled?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.storageEnabled(storageEnabled?.applyValue({ args0 -> args0 }))
.userUploadEnabled(userUploadEnabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ChannelWebChatSiteArgs].
*/
@PulumiTagMarker
public class ChannelWebChatSiteArgsBuilder internal constructor() {
private var endpointParametersEnabled: Output? = null
private var name: Output? = null
private var storageEnabled: Output? = null
private var userUploadEnabled: Output? = null
/**
* @param value Is the endpoint parameters enabled for this site?
*/
@JvmName("hnoqukxpgwwvdbel")
public suspend fun endpointParametersEnabled(`value`: Output) {
this.endpointParametersEnabled = value
}
/**
* @param value The name of the site.
*/
@JvmName("kmcnbcecxwahssoh")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Is the storage site enabled for detailed logging? Defaults to `true`.
*/
@JvmName("xaipcumcpnbxtvii")
public suspend fun storageEnabled(`value`: Output) {
this.storageEnabled = value
}
/**
* @param value Is the user upload enabled for this site? Defaults to `true`.
*/
@JvmName("imrihrywkseeribf")
public suspend fun userUploadEnabled(`value`: Output) {
this.userUploadEnabled = value
}
/**
* @param value Is the endpoint parameters enabled for this site?
*/
@JvmName("hrnjymrvlusjuiig")
public suspend fun endpointParametersEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.endpointParametersEnabled = mapped
}
/**
* @param value The name of the site.
*/
@JvmName("tqmuoiqcqlrmjpgs")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Is the storage site enabled for detailed logging? Defaults to `true`.
*/
@JvmName("tduklpekxanddrwq")
public suspend fun storageEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storageEnabled = mapped
}
/**
* @param value Is the user upload enabled for this site? Defaults to `true`.
*/
@JvmName("cbyygfigukxkiunj")
public suspend fun userUploadEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.userUploadEnabled = mapped
}
internal fun build(): ChannelWebChatSiteArgs = ChannelWebChatSiteArgs(
endpointParametersEnabled = endpointParametersEnabled,
name = name ?: throw PulumiNullFieldException("name"),
storageEnabled = storageEnabled,
userUploadEnabled = userUploadEnabled,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy