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

com.pulumi.awsnative.mediapackagev2.kotlin.ChannelGroupArgs.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.ChannelGroupArgs.builder
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 a channel group that facilitates the grouping of multiple channels.

* @property channelGroupName The name of the channel group. * @property description

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

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

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

*/ @JvmName("ceskuiofhgxalijh") public suspend fun description(`value`: Output) { this.description = value } /** * @param value The tags associated with the channel group. */ @JvmName("mbkpbnktnhgydefm") public suspend fun tags(`value`: Output>) { this.tags = value } @JvmName("iduqahkmwwjcltxg") public suspend fun tags(vararg values: Output) { this.tags = Output.all(values.asList()) } /** * @param values The tags associated with the channel group. */ @JvmName("wgybexcaravimlya") public suspend fun tags(values: List>) { this.tags = Output.all(values) } /** * @param value The name of the channel group. */ @JvmName("lyjilvvoafmahfkx") public suspend fun channelGroupName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.channelGroupName = mapped } /** * @param value

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

*/ @JvmName("svelitjbthlfcsin") public suspend fun description(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.description = mapped } /** * @param value The tags associated with the channel group. */ @JvmName("npalxlpvqcmfgyrq") 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 group. */ @JvmName("rwkdugvbtskhgcev") 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 group. */ @JvmName("aryyscsrhikiwael") 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 group. */ @JvmName("scokerubipjytepf") 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 group. */ @JvmName("dmuynkltbhwgwrcn") public suspend fun tags(vararg values: TagArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.tags = mapped } internal fun build(): ChannelGroupArgs = ChannelGroupArgs( channelGroupName = channelGroupName, description = description, tags = tags, ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy