com.pulumi.kubernetes.resource.v1alpha2.kotlin.inputs.NamedResourcesStringSliceArgs.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.kubernetes.resource.v1alpha2.inputs.NamedResourcesStringSliceArgs.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 NamedResourcesStringSliceArgs(
public val strings: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesStringSliceArgs =
com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesStringSliceArgs.builder()
.strings(strings.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [NamedResourcesStringSliceArgs].
*/
@PulumiTagMarker
public class NamedResourcesStringSliceArgsBuilder internal constructor() {
private var strings: Output>? = null
/**
* @param value Strings is the slice of strings.
*/
@JvmName("beqwpiofndepyiom")
public suspend fun strings(`value`: Output>) {
this.strings = value
}
@JvmName("umhnvswclnktwhxa")
public suspend fun strings(vararg values: Output) {
this.strings = Output.all(values.asList())
}
/**
* @param values Strings is the slice of strings.
*/
@JvmName("wxkhblaaauhcinch")
public suspend fun strings(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy