
com.pulumi.googlenative.compute.v1.kotlin.inputs.MetadataArgs.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.compute.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.compute.v1.inputs.MetadataArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A metadata key/value entry.
* @property items Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
*/
public data class MetadataArgs(
public val items: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.compute.v1.inputs.MetadataArgs =
com.pulumi.googlenative.compute.v1.inputs.MetadataArgs.builder()
.items(
items?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [MetadataArgs].
*/
@PulumiTagMarker
public class MetadataArgsBuilder internal constructor() {
private var items: Output>? = null
/**
* @param value Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
*/
@JvmName("rakmijglbwcplogf")
public suspend fun items(`value`: Output>) {
this.items = value
}
@JvmName("xanvxuckpbyvsveu")
public suspend fun items(vararg values: Output) {
this.items = Output.all(values.asList())
}
/**
* @param values Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
*/
@JvmName("faghuoqiasuqtjvw")
public suspend fun items(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy