com.pulumi.kubernetes.resource.v1alpha2.kotlin.inputs.NamedResourcesStringSlicePatchArgs.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.kubernetes.resource.v1alpha2.inputs.NamedResourcesStringSlicePatchArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* NamedResourcesStringSlice contains a slice of strings.
* @property strings Strings is the slice of strings.
*/
public data class NamedResourcesStringSlicePatchArgs(
public val strings: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesStringSlicePatchArgs =
com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesStringSlicePatchArgs.builder()
.strings(strings?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [NamedResourcesStringSlicePatchArgs].
*/
@PulumiTagMarker
public class NamedResourcesStringSlicePatchArgsBuilder internal constructor() {
private var strings: Output>? = null
/**
* @param value Strings is the slice of strings.
*/
@JvmName("wkgavnlgkrqtwnik")
public suspend fun strings(`value`: Output>) {
this.strings = value
}
@JvmName("yvdrvicfosqipshx")
public suspend fun strings(vararg values: Output) {
this.strings = Output.all(values.asList())
}
/**
* @param values Strings is the slice of strings.
*/
@JvmName("dqrmbmlwlhfhvumf")
public suspend fun strings(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy