
com.pulumi.googlenative.servicemanagement.v1.kotlin.inputs.EnumValueArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.servicemanagement.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.servicemanagement.v1.inputs.EnumValueArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Enum value definition.
* @property name Enum value name.
* @property number Enum value number.
* @property options Protocol buffer options.
*/
public data class EnumValueArgs(
public val name: Output? = null,
public val number: Output? = null,
public val options: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.servicemanagement.v1.inputs.EnumValueArgs =
com.pulumi.googlenative.servicemanagement.v1.inputs.EnumValueArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.number(number?.applyValue({ args0 -> args0 }))
.options(
options?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EnumValueArgs].
*/
@PulumiTagMarker
public class EnumValueArgsBuilder internal constructor() {
private var name: Output? = null
private var number: Output? = null
private var options: Output>? = null
/**
* @param value Enum value name.
*/
@JvmName("ibgmeeninsyutlsu")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Enum value number.
*/
@JvmName("kqupkphyffsfsjgg")
public suspend fun number(`value`: Output) {
this.number = value
}
/**
* @param value Protocol buffer options.
*/
@JvmName("jmgwhlbsayjtkgtu")
public suspend fun options(`value`: Output>) {
this.options = value
}
@JvmName("xvpqerncbgsdqsvm")
public suspend fun options(vararg values: Output) {
this.options = Output.all(values.asList())
}
/**
* @param values Protocol buffer options.
*/
@JvmName("souxlveefavjvdvc")
public suspend fun options(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy