com.pulumi.kubernetes.admissionregistration.v1.kotlin.inputs.ParamKindPatchArgs.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.admissionregistration.v1.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.admissionregistration.v1.inputs.ParamKindPatchArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* ParamKind is a tuple of Group Kind and Version.
* @property apiVersion APIVersion is the API group version the resources belong to. In format of "group/version". Required.
* @property kind Kind is the API kind the resources belong to. Required.
*/
public data class ParamKindPatchArgs(
public val apiVersion: Output? = null,
public val kind: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.admissionregistration.v1.inputs.ParamKindPatchArgs =
com.pulumi.kubernetes.admissionregistration.v1.inputs.ParamKindPatchArgs.builder()
.apiVersion(apiVersion?.applyValue({ args0 -> args0 }))
.kind(kind?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ParamKindPatchArgs].
*/
@PulumiTagMarker
public class ParamKindPatchArgsBuilder internal constructor() {
private var apiVersion: Output? = null
private var kind: Output? = null
/**
* @param value APIVersion is the API group version the resources belong to. In format of "group/version". Required.
*/
@JvmName("iewyaiuoctthiyvg")
public suspend fun apiVersion(`value`: Output) {
this.apiVersion = value
}
/**
* @param value Kind is the API kind the resources belong to. Required.
*/
@JvmName("fqpqdmhnnirfxypo")
public suspend fun kind(`value`: Output) {
this.kind = value
}
/**
* @param value APIVersion is the API group version the resources belong to. In format of "group/version". Required.
*/
@JvmName("vlcqdwamdlulredf")
public suspend fun apiVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.apiVersion = mapped
}
/**
* @param value Kind is the API kind the resources belong to. Required.
*/
@JvmName("bpmvdrmfmvnfcjec")
public suspend fun kind(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kind = mapped
}
internal fun build(): ParamKindPatchArgs = ParamKindPatchArgs(
apiVersion = apiVersion,
kind = kind,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy