![JAR search and dependency download from the Maven repository](/logo.png)
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
© 2015 - 2025 Weber Informatics LLC | Privacy Policy