com.pulumi.kubernetes.resource.v1alpha2.kotlin.inputs.NamedResourcesResourcesArgs.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.
@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.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesResourcesArgs.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 NamedResourcesResourcesArgs(
public val instances: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesResourcesArgs = com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesResourcesArgs.builder()
.instances(
instances.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [NamedResourcesResourcesArgs].
*/
@PulumiTagMarker
public class NamedResourcesResourcesArgsBuilder internal constructor() {
private var instances: Output>? = null
/**
* @param value The list of all individual resources instances currently available.
*/
@JvmName("jmtdtxqjhfhrkhmj")
public suspend fun instances(`value`: Output>) {
this.instances = value
}
@JvmName("lgwifjtypbvsahno")
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("uskgkqmagsmvqgfy")
public suspend fun instances(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy