![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.gkehub.kotlin.inputs.FleetDefaultClusterConfigArgs.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.FleetDefaultClusterConfigArgs.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 binaryAuthorizationConfig Enable/Disable binary authorization features for the cluster.
* Structure is documented below.
* @property securityPostureConfig Enable/Disable Security Posture features for the cluster.
* Structure is documented below.
*/
public data class FleetDefaultClusterConfigArgs(
public val binaryAuthorizationConfig: Output? = null,
public val securityPostureConfig: Output? =
null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkehub.inputs.FleetDefaultClusterConfigArgs =
com.pulumi.gcp.gkehub.inputs.FleetDefaultClusterConfigArgs.builder()
.binaryAuthorizationConfig(
binaryAuthorizationConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.securityPostureConfig(
securityPostureConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [FleetDefaultClusterConfigArgs].
*/
@PulumiTagMarker
public class FleetDefaultClusterConfigArgsBuilder internal constructor() {
private var binaryAuthorizationConfig:
Output? = null
private var securityPostureConfig: Output? =
null
/**
* @param value Enable/Disable binary authorization features for the cluster.
* Structure is documented below.
*/
@JvmName("ijjmmdbpycxbihfj")
public suspend fun binaryAuthorizationConfig(`value`: Output) {
this.binaryAuthorizationConfig = value
}
/**
* @param value Enable/Disable Security Posture features for the cluster.
* Structure is documented below.
*/
@JvmName("eamwafdgsfpmjsyf")
public suspend fun securityPostureConfig(`value`: Output) {
this.securityPostureConfig = value
}
/**
* @param value Enable/Disable binary authorization features for the cluster.
* Structure is documented below.
*/
@JvmName("vjgdtvpkcrdlqjcd")
public suspend fun binaryAuthorizationConfig(`value`: FleetDefaultClusterConfigBinaryAuthorizationConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.binaryAuthorizationConfig = mapped
}
/**
* @param argument Enable/Disable binary authorization features for the cluster.
* Structure is documented below.
*/
@JvmName("juqyhwgjeqlwhyef")
public suspend fun binaryAuthorizationConfig(argument: suspend FleetDefaultClusterConfigBinaryAuthorizationConfigArgsBuilder.() -> Unit) {
val toBeMapped = FleetDefaultClusterConfigBinaryAuthorizationConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.binaryAuthorizationConfig = mapped
}
/**
* @param value Enable/Disable Security Posture features for the cluster.
* Structure is documented below.
*/
@JvmName("cbhqcfckooifbkxh")
public suspend fun securityPostureConfig(`value`: FleetDefaultClusterConfigSecurityPostureConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.securityPostureConfig = mapped
}
/**
* @param argument Enable/Disable Security Posture features for the cluster.
* Structure is documented below.
*/
@JvmName("sxsrnqsgeqggxfqm")
public suspend fun securityPostureConfig(argument: suspend FleetDefaultClusterConfigSecurityPostureConfigArgsBuilder.() -> Unit) {
val toBeMapped = FleetDefaultClusterConfigSecurityPostureConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.securityPostureConfig = mapped
}
internal fun build(): FleetDefaultClusterConfigArgs = FleetDefaultClusterConfigArgs(
binaryAuthorizationConfig = binaryAuthorizationConfig,
securityPostureConfig = securityPostureConfig,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy