com.pulumi.kubernetes.flowcontrol.v1alpha1.kotlin.inputs.ServiceAccountSubjectPatchArgs.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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.flowcontrol.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.flowcontrol.v1alpha1.inputs.ServiceAccountSubjectPatchArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* ServiceAccountSubject holds detailed information for service-account-kind subject.
* @property name `name` is the name of matching ServiceAccount objects, or "*" to match regardless of name. Required.
* @property namespace `namespace` is the namespace of matching ServiceAccount objects. Required.
*/
public data class ServiceAccountSubjectPatchArgs(
public val name: Output? = null,
public val namespace: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.flowcontrol.v1alpha1.inputs.ServiceAccountSubjectPatchArgs =
com.pulumi.kubernetes.flowcontrol.v1alpha1.inputs.ServiceAccountSubjectPatchArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.namespace(namespace?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceAccountSubjectPatchArgs].
*/
@PulumiTagMarker
public class ServiceAccountSubjectPatchArgsBuilder internal constructor() {
private var name: Output? = null
private var namespace: Output? = null
/**
* @param value `name` is the name of matching ServiceAccount objects, or "*" to match regardless of name. Required.
*/
@JvmName("qxjaeytkqrocagfp")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value `namespace` is the namespace of matching ServiceAccount objects. Required.
*/
@JvmName("uaujjvuhdedwerln")
public suspend fun namespace(`value`: Output) {
this.namespace = value
}
/**
* @param value `name` is the name of matching ServiceAccount objects, or "*" to match regardless of name. Required.
*/
@JvmName("huwydbxnqrgmcqfa")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value `namespace` is the namespace of matching ServiceAccount objects. Required.
*/
@JvmName("eonfcncfbvmtwxom")
public suspend fun namespace(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.namespace = mapped
}
internal fun build(): ServiceAccountSubjectPatchArgs = ServiceAccountSubjectPatchArgs(
name = name,
namespace = namespace,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy