com.pulumi.gcp.dataproc.kotlin.inputs.ClusterClusterConfigSecurityConfigArgs.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.dataproc.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigSecurityConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property kerberosConfig Kerberos Configuration
*/
public data class ClusterClusterConfigSecurityConfigArgs(
public val kerberosConfig: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigSecurityConfigArgs =
com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigSecurityConfigArgs.builder()
.kerberosConfig(
kerberosConfig.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ClusterClusterConfigSecurityConfigArgs].
*/
@PulumiTagMarker
public class ClusterClusterConfigSecurityConfigArgsBuilder internal constructor() {
private var kerberosConfig: Output? = null
/**
* @param value Kerberos Configuration
*/
@JvmName("wkclkrdwngquppse")
public suspend fun kerberosConfig(`value`: Output) {
this.kerberosConfig = value
}
/**
* @param value Kerberos Configuration
*/
@JvmName("pmgjbqvpewudsbna")
public suspend fun kerberosConfig(`value`: ClusterClusterConfigSecurityConfigKerberosConfigArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.kerberosConfig = mapped
}
/**
* @param argument Kerberos Configuration
*/
@JvmName("iershjpysrwtwilv")
public suspend fun kerberosConfig(argument: suspend ClusterClusterConfigSecurityConfigKerberosConfigArgsBuilder.() -> Unit) {
val toBeMapped = ClusterClusterConfigSecurityConfigKerberosConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.kerberosConfig = mapped
}
internal fun build(): ClusterClusterConfigSecurityConfigArgs =
ClusterClusterConfigSecurityConfigArgs(
kerberosConfig = kerberosConfig ?: throw PulumiNullFieldException("kerberosConfig"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy