![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotanalytics.kotlin.inputs.PipelineChannelArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotanalytics.kotlin.inputs
import com.pulumi.awsnative.iotanalytics.inputs.PipelineChannelArgs.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
/**
*
* @property channelName The name of the channel from which the messages are processed.
* @property name The name of the 'channel' activity.
* @property next The next activity in the pipeline.
*/
public data class PipelineChannelArgs(
public val channelName: Output,
public val name: Output,
public val next: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.PipelineChannelArgs =
com.pulumi.awsnative.iotanalytics.inputs.PipelineChannelArgs.builder()
.channelName(channelName.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.next(next?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PipelineChannelArgs].
*/
@PulumiTagMarker
public class PipelineChannelArgsBuilder internal constructor() {
private var channelName: Output? = null
private var name: Output? = null
private var next: Output? = null
/**
* @param value The name of the channel from which the messages are processed.
*/
@JvmName("wkbnriewtfxwtcjh")
public suspend fun channelName(`value`: Output) {
this.channelName = value
}
/**
* @param value The name of the 'channel' activity.
*/
@JvmName("nndhqtrdliqfeypu")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The next activity in the pipeline.
*/
@JvmName("koagcpcmmprxkipm")
public suspend fun next(`value`: Output) {
this.next = value
}
/**
* @param value The name of the channel from which the messages are processed.
*/
@JvmName("wktmysvrbijemswm")
public suspend fun channelName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.channelName = mapped
}
/**
* @param value The name of the 'channel' activity.
*/
@JvmName("uwvgfkpfeqsilbxi")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The next activity in the pipeline.
*/
@JvmName("hovxogyrcacnsvbr")
public suspend fun next(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.next = mapped
}
internal fun build(): PipelineChannelArgs = PipelineChannelArgs(
channelName = channelName ?: throw PulumiNullFieldException("channelName"),
name = name ?: throw PulumiNullFieldException("name"),
next = next,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy