All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.kubernetes.autoscaling.v1.kotlin.inputs.CrossVersionObjectReferencePatchArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 4.18.2.0
Show 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("feaciknellhrlsia")
    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("yetqcekjiovwmlyg")
    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("uttpdsefdnaewprv")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value apiVersion is the API version of the referent
     */
    @JvmName("imarhhvcbtbsomid")
    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("oywottdjauyompvv")
    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("agnpiifgauapaknr")
    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