com.pulumi.kubernetes.rbac.v1beta1.kotlin.outputs.RoleRefPatch.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.rbac.v1beta1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* 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 RoleRefPatch(
public val apiGroup: String? = null,
public val kind: String? = null,
public val name: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.rbac.v1beta1.outputs.RoleRefPatch): RoleRefPatch = RoleRefPatch(
apiGroup = javaType.apiGroup().map({ args0 -> args0 }).orElse(null),
kind = javaType.kind().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy