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

com.pulumi.gitlab.kotlin.inputs.GetInstanceVariablePlainArgs.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: 8.4.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gitlab.kotlin.inputs

import com.pulumi.gitlab.inputs.GetInstanceVariablePlainArgs.builder
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

/**
 * A collection of arguments for invoking getInstanceVariable.
 * @property key The name of the variable.
 */
public data class GetInstanceVariablePlainArgs(
    public val key: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gitlab.inputs.GetInstanceVariablePlainArgs =
        com.pulumi.gitlab.inputs.GetInstanceVariablePlainArgs.builder()
            .key(key.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetInstanceVariablePlainArgs].
 */
@PulumiTagMarker
public class GetInstanceVariablePlainArgsBuilder internal constructor() {
    private var key: String? = null

    /**
     * @param value The name of the variable.
     */
    @JvmName("hmncgewnpieadlet")
    public suspend fun key(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.key = mapped
    }

    internal fun build(): GetInstanceVariablePlainArgs = GetInstanceVariablePlainArgs(
        key = key ?: throw PulumiNullFieldException("key"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy