com.pulumi.gcp.gkehub.kotlin.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerArgs.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.gkehub.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property policyControllerHubConfig Configuration of Policy Controller
* Structure is documented below.
* @property version Configures the version of Policy Controller
*/
public data class FeatureFleetDefaultMemberConfigPolicycontrollerArgs(
public val policyControllerHubConfig: Output,
public val version: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerArgs =
com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerArgs.builder()
.policyControllerHubConfig(
policyControllerHubConfig.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FeatureFleetDefaultMemberConfigPolicycontrollerArgs].
*/
@PulumiTagMarker
public class FeatureFleetDefaultMemberConfigPolicycontrollerArgsBuilder internal constructor() {
private var policyControllerHubConfig:
Output? = null
private var version: Output? = null
/**
* @param value Configuration of Policy Controller
* Structure is documented below.
*/
@JvmName("wwlkbcaxueuiagqp")
public suspend fun policyControllerHubConfig(`value`: Output) {
this.policyControllerHubConfig = value
}
/**
* @param value Configures the version of Policy Controller
*/
@JvmName("ndfrtlftdweiwdqh")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value Configuration of Policy Controller
* Structure is documented below.
*/
@JvmName("txyfhxuttvwoekye")
public suspend fun policyControllerHubConfig(`value`: FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.policyControllerHubConfig = mapped
}
/**
* @param argument Configuration of Policy Controller
* Structure is documented below.
*/
@JvmName("wpbpqrvscfoklboy")
public suspend fun policyControllerHubConfig(argument: suspend FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigArgsBuilder.() -> Unit) {
val toBeMapped =
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.policyControllerHubConfig = mapped
}
/**
* @param value Configures the version of Policy Controller
*/
@JvmName("tlqgokmthpjanrnc")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): FeatureFleetDefaultMemberConfigPolicycontrollerArgs =
FeatureFleetDefaultMemberConfigPolicycontrollerArgs(
policyControllerHubConfig = policyControllerHubConfig ?: throw
PulumiNullFieldException("policyControllerHubConfig"),
version = version,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy