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

com.pulumi.awsnative.mediapackagev2.kotlin.ChannelArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.mediapackagev2.kotlin

import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.mediapackagev2.ChannelArgs.builder
import com.pulumi.awsnative.mediapackagev2.kotlin.enums.ChannelInputType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * 

Represents an entry point into AWS Elemental MediaPackage for an ABR video content stream sent from an upstream encoder such as AWS Elemental MediaLive. The channel continuously analyzes the content that it receives and prepares it to be distributed to consumers via one or more origin endpoints.

* @property channelGroupName The name of the channel group associated with the channel configuration. * @property channelName The name of the channel. * @property description

Enter any descriptive text that helps you to identify the channel.

* @property inputType * @property tags The tags associated with the channel. */ public data class ChannelArgs( public val channelGroupName: Output? = null, public val channelName: Output? = null, public val description: Output? = null, public val inputType: Output? = null, public val tags: Output>? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.mediapackagev2.ChannelArgs = com.pulumi.awsnative.mediapackagev2.ChannelArgs.builder() .channelGroupName(channelGroupName?.applyValue({ args0 -> args0 })) .channelName(channelName?.applyValue({ args0 -> args0 })) .description(description?.applyValue({ args0 -> args0 })) .inputType(inputType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })) .tags( tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ).build() } /** * Builder for [ChannelArgs]. */ @PulumiTagMarker public class ChannelArgsBuilder internal constructor() { private var channelGroupName: Output? = null private var channelName: Output? = null private var description: Output? = null private var inputType: Output? = null private var tags: Output>? = null /** * @param value The name of the channel group associated with the channel configuration. */ @JvmName("vvtwpjmqivpaocqj") public suspend fun channelGroupName(`value`: Output) { this.channelGroupName = value } /** * @param value The name of the channel. */ @JvmName("nraulhvajiijhugt") public suspend fun channelName(`value`: Output) { this.channelName = value } /** * @param value

Enter any descriptive text that helps you to identify the channel.

*/ @JvmName("eamseujngedwcapb") public suspend fun description(`value`: Output) { this.description = value } /** * @param value */ @JvmName("cmmvvuwsiqxtovwd") public suspend fun inputType(`value`: Output) { this.inputType = value } /** * @param value The tags associated with the channel. */ @JvmName("dfdihpqrulhqqfqf") public suspend fun tags(`value`: Output>) { this.tags = value } @JvmName("ljiesxopbyysuogm") public suspend fun tags(vararg values: Output) { this.tags = Output.all(values.asList()) } /** * @param values The tags associated with the channel. */ @JvmName("jktdqqiqntbafdqm") public suspend fun tags(values: List>) { this.tags = Output.all(values) } /** * @param value The name of the channel group associated with the channel configuration. */ @JvmName("njguuiggxxisluog") public suspend fun channelGroupName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.channelGroupName = mapped } /** * @param value The name of the channel. */ @JvmName("utodgdbtubjctfmh") public suspend fun channelName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.channelName = mapped } /** * @param value

Enter any descriptive text that helps you to identify the channel.

*/ @JvmName("bqephrhljbbqmhmu") public suspend fun description(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.description = mapped } /** * @param value */ @JvmName("cydwowhdmnsjkpkw") public suspend fun inputType(`value`: ChannelInputType?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.inputType = mapped } /** * @param value The tags associated with the channel. */ @JvmName("vtwtpknayyaapoyr") public suspend fun tags(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.tags = mapped } /** * @param argument The tags associated with the channel. */ @JvmName("iqkrrheiewecarel") public suspend fun tags(argument: List Unit>) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument The tags associated with the channel. */ @JvmName("ejmfbbsnqvkwgoie") public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument The tags associated with the channel. */ @JvmName("cfxxupcejweedhwy") public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build()) val mapped = of(toBeMapped) this.tags = mapped } /** * @param values The tags associated with the channel. */ @JvmName("vjjscpctrlmcybfw") public suspend fun tags(vararg values: TagArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.tags = mapped } internal fun build(): ChannelArgs = ChannelArgs( channelGroupName = channelGroupName, channelName = channelName, description = description, inputType = inputType, tags = tags, ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy