com.pulumi.kubernetes.autoscaling.v1.kotlin.inputs.CrossVersionObjectReferencePatchArgs.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.autoscaling.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.autoscaling.v1.inputs.CrossVersionObjectReferencePatchArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* CrossVersionObjectReference contains enough information to let you identify the referred resource.
* @property apiVersion apiVersion is the API version of the referent
* @property kind kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
* @property name name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
*/
public data class CrossVersionObjectReferencePatchArgs(
public val apiVersion: Output? = null,
public val kind: Output? = null,
public val name: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.autoscaling.v1.inputs.CrossVersionObjectReferencePatchArgs =
com.pulumi.kubernetes.autoscaling.v1.inputs.CrossVersionObjectReferencePatchArgs.builder()
.apiVersion(apiVersion?.applyValue({ args0 -> args0 }))
.kind(kind?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CrossVersionObjectReferencePatchArgs].
*/
@PulumiTagMarker
public class CrossVersionObjectReferencePatchArgsBuilder internal constructor() {
private var apiVersion: Output? = null
private var kind: Output? = null
private var name: Output? = null
/**
* @param value apiVersion is the API version of the referent
*/
@JvmName("mhnuqyvkqdrwcphh")
public suspend fun apiVersion(`value`: Output) {
this.apiVersion = value
}
/**
* @param value kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
@JvmName("txhhsqroqqldgrbf")
public suspend fun kind(`value`: Output) {
this.kind = value
}
/**
* @param value name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
*/
@JvmName("oxnmohdjbpqnnebf")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value apiVersion is the API version of the referent
*/
@JvmName("nstcehbewajneerl")
public suspend fun apiVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.apiVersion = mapped
}
/**
* @param value kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
@JvmName("wbaqswnkqutgngmf")
public suspend fun kind(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kind = mapped
}
/**
* @param value name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
*/
@JvmName("lwadvbmnvciyjqvr")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): CrossVersionObjectReferencePatchArgs = CrossVersionObjectReferencePatchArgs(
apiVersion = apiVersion,
kind = kind,
name = name,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy