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

com.pulumi.kubernetes.rbac.v1alpha1.kotlin.inputs.RoleRefPatchArgs.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.rbac.v1alpha1.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.rbac.v1alpha1.inputs.RoleRefPatchArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * RoleRef contains information that points to the role being used
 * @property apiGroup APIGroup is the group for the resource being referenced
 * @property kind Kind is the type of resource being referenced
 * @property name Name is the name of resource being referenced
 */
public data class RoleRefPatchArgs(
    public val apiGroup: Output? = null,
    public val kind: Output? = null,
    public val name: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.kubernetes.rbac.v1alpha1.inputs.RoleRefPatchArgs =
        com.pulumi.kubernetes.rbac.v1alpha1.inputs.RoleRefPatchArgs.builder()
            .apiGroup(apiGroup?.applyValue({ args0 -> args0 }))
            .kind(kind?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RoleRefPatchArgs].
 */
@PulumiTagMarker
public class RoleRefPatchArgsBuilder internal constructor() {
    private var apiGroup: Output? = null

    private var kind: Output? = null

    private var name: Output? = null

    /**
     * @param value APIGroup is the group for the resource being referenced
     */
    @JvmName("icqgguexjrusethu")
    public suspend fun apiGroup(`value`: Output) {
        this.apiGroup = value
    }

    /**
     * @param value Kind is the type of resource being referenced
     */
    @JvmName("soturrwiqeuldryb")
    public suspend fun kind(`value`: Output) {
        this.kind = value
    }

    /**
     * @param value Name is the name of resource being referenced
     */
    @JvmName("nyhxigbdvmdefcjf")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value APIGroup is the group for the resource being referenced
     */
    @JvmName("vitjrtmdqcrqpnwq")
    public suspend fun apiGroup(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.apiGroup = mapped
    }

    /**
     * @param value Kind is the type of resource being referenced
     */
    @JvmName("nwrlqewfgyfktlil")
    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 resource being referenced
     */
    @JvmName("pcqratiwryupuigy")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): RoleRefPatchArgs = RoleRefPatchArgs(
        apiGroup = apiGroup,
        kind = kind,
        name = name,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy