com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterSecurityConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.gkeonprem.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterSecurityConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property authorization Configures user access to the Bare Metal User cluster.
* Structure is documented below.
*/
public data class BareMetalClusterSecurityConfigArgs(
public val authorization: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterSecurityConfigArgs =
com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterSecurityConfigArgs.builder()
.authorization(authorization?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [BareMetalClusterSecurityConfigArgs].
*/
@PulumiTagMarker
public class BareMetalClusterSecurityConfigArgsBuilder internal constructor() {
private var authorization: Output? = null
/**
* @param value Configures user access to the Bare Metal User cluster.
* Structure is documented below.
*/
@JvmName("vdxgyqmwwgqwbpdg")
public suspend fun authorization(`value`: Output) {
this.authorization = value
}
/**
* @param value Configures user access to the Bare Metal User cluster.
* Structure is documented below.
*/
@JvmName("rwerlfxpqejssgyj")
public suspend fun authorization(`value`: BareMetalClusterSecurityConfigAuthorizationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authorization = mapped
}
/**
* @param argument Configures user access to the Bare Metal User cluster.
* Structure is documented below.
*/
@JvmName("ayqtnbrctbwsvoal")
public suspend fun authorization(argument: suspend BareMetalClusterSecurityConfigAuthorizationArgsBuilder.() -> Unit) {
val toBeMapped = BareMetalClusterSecurityConfigAuthorizationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.authorization = mapped
}
internal fun build(): BareMetalClusterSecurityConfigArgs = BareMetalClusterSecurityConfigArgs(
authorization = authorization,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy