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

com.pulumi.aws.glue.kotlin.inputs.GetScriptDagNodeArg.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.glue.kotlin.inputs

import com.pulumi.aws.glue.inputs.GetScriptDagNodeArg.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property name Name of the argument or property.
 * @property param Boolean if the value is used as a parameter. Defaults to `false`.
 * @property value Value of the argument or property.
 */
public data class GetScriptDagNodeArg(
    public val name: String,
    public val `param`: Boolean? = null,
    public val `value`: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.glue.inputs.GetScriptDagNodeArg =
        com.pulumi.aws.glue.inputs.GetScriptDagNodeArg.builder()
            .name(name.let({ args0 -> args0 }))
            .`param`(`param`?.let({ args0 -> args0 }))
            .`value`(`value`.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetScriptDagNodeArg].
 */
@PulumiTagMarker
public class GetScriptDagNodeArgBuilder internal constructor() {
    private var name: String? = null

    private var `param`: Boolean? = null

    private var `value`: String? = null

    /**
     * @param value Name of the argument or property.
     */
    @JvmName("esecspvappqrscme")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    /**
     * @param value Boolean if the value is used as a parameter. Defaults to `false`.
     */
    @JvmName("gjarldyfpytrukoh")
    public suspend fun `param`(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.`param` = mapped
    }

    /**
     * @param value Value of the argument or property.
     */
    @JvmName("gmhssavakrebjkga")
    public suspend fun `value`(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.`value` = mapped
    }

    internal fun build(): GetScriptDagNodeArg = GetScriptDagNodeArg(
        name = name ?: throw PulumiNullFieldException("name"),
        `param` = `param`,
        `value` = `value` ?: throw PulumiNullFieldException("value"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy