![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.inputs.GetKubernetesClusterPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-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.digitalocean.kotlin.inputs
import com.pulumi.digitalocean.inputs.GetKubernetesClusterPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getKubernetesCluster.
* @property name The name of Kubernetes cluster.
* @property tags A list of tag names applied to the node pool.
*/
public data class GetKubernetesClusterPlainArgs(
public val name: String,
public val tags: List? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.digitalocean.inputs.GetKubernetesClusterPlainArgs =
com.pulumi.digitalocean.inputs.GetKubernetesClusterPlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.tags(tags?.let({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [GetKubernetesClusterPlainArgs].
*/
@PulumiTagMarker
public class GetKubernetesClusterPlainArgsBuilder internal constructor() {
private var name: String? = null
private var tags: List? = null
/**
* @param value The name of Kubernetes cluster.
*/
@JvmName("ydexahvrbjntjiof")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value A list of tag names applied to the node pool.
*/
@JvmName("aehkwrlnjopaljkx")
public suspend fun tags(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.tags = mapped
}
/**
* @param values A list of tag names applied to the node pool.
*/
@JvmName("gkbsfxhhdudbcjoe")
public suspend fun tags(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> args0 })
this.tags = mapped
}
internal fun build(): GetKubernetesClusterPlainArgs = GetKubernetesClusterPlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
tags = tags,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy