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

com.pulumi.kubernetes.admissionregistration.v1.kotlin.inputs.ParamKindArgs.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.

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.ParamKindArgs.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 ParamKindArgs(
    public val apiVersion: Output? = null,
    public val kind: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.kubernetes.admissionregistration.v1.inputs.ParamKindArgs =
        com.pulumi.kubernetes.admissionregistration.v1.inputs.ParamKindArgs.builder()
            .apiVersion(apiVersion?.applyValue({ args0 -> args0 }))
            .kind(kind?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ParamKindArgs].
 */
@PulumiTagMarker
public class ParamKindArgsBuilder 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("cyoepsjtvtedxjjm")
    public suspend fun apiVersion(`value`: Output) {
        this.apiVersion = value
    }

    /**
     * @param value Kind is the API kind the resources belong to. Required.
     */
    @JvmName("ctxdbxbsjhkuxrnc")
    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("cllssodnjfisagci")
    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("qjdqcjgbddvbcubk")
    public suspend fun kind(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kind = mapped
    }

    internal fun build(): ParamKindArgs = ParamKindArgs(
        apiVersion = apiVersion,
        kind = kind,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy