com.pulumi.kubernetes.resource.v1alpha2.kotlin.inputs.NamedResourcesResourcesPatchArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.kubernetes.resource.v1alpha2.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesResourcesPatchArgs.builder
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* NamedResourcesResources is used in ResourceModel.
* @property instances The list of all individual resources instances currently available.
*/
public data class NamedResourcesResourcesPatchArgs(
public val instances: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesResourcesPatchArgs =
com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesResourcesPatchArgs.builder()
.instances(
instances?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [NamedResourcesResourcesPatchArgs].
*/
@PulumiTagMarker
public class NamedResourcesResourcesPatchArgsBuilder internal constructor() {
private var instances: Output>? = null
/**
* @param value The list of all individual resources instances currently available.
*/
@JvmName("qjsvsvwkpdretsdn")
public suspend fun instances(`value`: Output>) {
this.instances = value
}
@JvmName("klvggjwxmaapihte")
public suspend fun instances(vararg values: Output) {
this.instances = Output.all(values.asList())
}
/**
* @param values The list of all individual resources instances currently available.
*/
@JvmName("bxrdhsqyxngfwsap")
public suspend fun instances(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy