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

com.pulumi.awsnative.mediatailor.kotlin.inputs.GetChannelPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.mediatailor.kotlin.inputs

import com.pulumi.awsnative.mediatailor.inputs.GetChannelPlainArgs.builder
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

/**
 *
 * @property channelName The name of the channel.
 */
public data class GetChannelPlainArgs(
    public val channelName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.mediatailor.inputs.GetChannelPlainArgs =
        com.pulumi.awsnative.mediatailor.inputs.GetChannelPlainArgs.builder()
            .channelName(channelName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetChannelPlainArgs].
 */
@PulumiTagMarker
public class GetChannelPlainArgsBuilder internal constructor() {
    private var channelName: String? = null

    /**
     * @param value The name of the channel.
     */
    @JvmName("errfdjwwiowbxddy")
    public suspend fun channelName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.channelName = mapped
    }

    internal fun build(): GetChannelPlainArgs = GetChannelPlainArgs(
        channelName = channelName ?: throw PulumiNullFieldException("channelName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy