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

com.pulumi.azurenative.botservice.kotlin.inputs.OutlookChannelArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.botservice.kotlin.inputs

import com.pulumi.azurenative.botservice.inputs.OutlookChannelArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Outlook channel definition
 * @property channelName The channel name
 * Expected value is 'OutlookChannel'.
 * @property etag Entity Tag of the resource
 * @property location Specifies the location of the resource.
 */
public data class OutlookChannelArgs(
    public val channelName: Output,
    public val etag: Output? = null,
    public val location: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.botservice.inputs.OutlookChannelArgs =
        com.pulumi.azurenative.botservice.inputs.OutlookChannelArgs.builder()
            .channelName(channelName.applyValue({ args0 -> args0 }))
            .etag(etag?.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [OutlookChannelArgs].
 */
@PulumiTagMarker
public class OutlookChannelArgsBuilder internal constructor() {
    private var channelName: Output? = null

    private var etag: Output? = null

    private var location: Output? = null

    /**
     * @param value The channel name
     * Expected value is 'OutlookChannel'.
     */
    @JvmName("khxuighsbbfwcntm")
    public suspend fun channelName(`value`: Output) {
        this.channelName = value
    }

    /**
     * @param value Entity Tag of the resource
     */
    @JvmName("lwafodkmubeqruut")
    public suspend fun etag(`value`: Output) {
        this.etag = value
    }

    /**
     * @param value Specifies the location of the resource.
     */
    @JvmName("xsxjppqtpysinqeg")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value The channel name
     * Expected value is 'OutlookChannel'.
     */
    @JvmName("ofqvlubnhkwnvgbh")
    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("ybexgwqjvtkvklug")
    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("bjmclqgleuqxbaao")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    internal fun build(): OutlookChannelArgs = OutlookChannelArgs(
        channelName = channelName ?: throw PulumiNullFieldException("channelName"),
        etag = etag,
        location = location,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy