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

com.pulumi.azurenative.iotoperationsdataprocessor.kotlin.inputs.PipelineInputArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.iotoperationsdataprocessor.kotlin.inputs

import com.pulumi.azurenative.iotoperationsdataprocessor.inputs.PipelineInputArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 * Stage configuration for Pipeline input stage.
 * @property description Description for stage.
 * @property next Next stage in the pipeline.
 * @property type ARM resource type.
 */
public data class PipelineInputArgs(
    public val description: Output? = null,
    public val next: Output>,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.iotoperationsdataprocessor.inputs.PipelineInputArgs = com.pulumi.azurenative.iotoperationsdataprocessor.inputs.PipelineInputArgs.builder()
        .description(description?.applyValue({ args0 -> args0 }))
        .next(next.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PipelineInputArgs].
 */
@PulumiTagMarker
public class PipelineInputArgsBuilder internal constructor() {
    private var description: Output? = null

    private var next: Output>? = null

    private var type: Output? = null

    /**
     * @param value Description for stage.
     */
    @JvmName("gowefpslucscjxan")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Next stage in the pipeline.
     */
    @JvmName("atikjdrdkpuxktle")
    public suspend fun next(`value`: Output>) {
        this.next = value
    }

    @JvmName("amufrhjeujbgavsl")
    public suspend fun next(vararg values: Output) {
        this.next = Output.all(values.asList())
    }

    /**
     * @param values Next stage in the pipeline.
     */
    @JvmName("xqexbevvvonitbgd")
    public suspend fun next(values: List>) {
        this.next = Output.all(values)
    }

    /**
     * @param value ARM resource type.
     */
    @JvmName("usawjptvuuksoput")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value Description for stage.
     */
    @JvmName("tkivxemcmqyaqetg")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Next stage in the pipeline.
     */
    @JvmName("vbaucbftjjuawnvg")
    public suspend fun next(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.next = mapped
    }

    /**
     * @param values Next stage in the pipeline.
     */
    @JvmName("cktntijobsmpesqf")
    public suspend fun next(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.next = mapped
    }

    /**
     * @param value ARM resource type.
     */
    @JvmName("dollvvuwxikkssev")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): PipelineInputArgs = PipelineInputArgs(
        description = description,
        next = next ?: throw PulumiNullFieldException("next"),
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy