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

com.pulumi.awsnative.omics.kotlin.inputs.WorkflowParameterArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.omics.kotlin.inputs

import com.pulumi.awsnative.omics.inputs.WorkflowParameterArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property description The parameter's description.
 * @property optional Whether the parameter is optional.
 */
public data class WorkflowParameterArgs(
    public val description: Output? = null,
    public val optional: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.omics.inputs.WorkflowParameterArgs =
        com.pulumi.awsnative.omics.inputs.WorkflowParameterArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .optional(optional?.applyValue({ args0 -> args0 })).build()
}

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

    private var optional: Output? = null

    /**
     * @param value The parameter's description.
     */
    @JvmName("ciqrkibmmrrjdjsl")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Whether the parameter is optional.
     */
    @JvmName("gtujnscldeobjtgf")
    public suspend fun optional(`value`: Output) {
        this.optional = value
    }

    /**
     * @param value The parameter's description.
     */
    @JvmName("arbhcssfvbjmlihx")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Whether the parameter is optional.
     */
    @JvmName("uevmlhnvhigdkrmv")
    public suspend fun optional(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.optional = mapped
    }

    internal fun build(): WorkflowParameterArgs = WorkflowParameterArgs(
        description = description,
        optional = optional,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy