com.pulumi.gcp.container.kotlin.inputs.AwsNodePoolUpdateSettingsArgs.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.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AwsNodePoolUpdateSettingsArgs.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 surgeSettings Optional. Settings for surge update.
*/
public data class AwsNodePoolUpdateSettingsArgs(
public val surgeSettings: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.AwsNodePoolUpdateSettingsArgs =
com.pulumi.gcp.container.inputs.AwsNodePoolUpdateSettingsArgs.builder()
.surgeSettings(surgeSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AwsNodePoolUpdateSettingsArgs].
*/
@PulumiTagMarker
public class AwsNodePoolUpdateSettingsArgsBuilder internal constructor() {
private var surgeSettings: Output? = null
/**
* @param value Optional. Settings for surge update.
*/
@JvmName("pvswbysuxldegoli")
public suspend fun surgeSettings(`value`: Output) {
this.surgeSettings = value
}
/**
* @param value Optional. Settings for surge update.
*/
@JvmName("rhyjhwcnspxmhraj")
public suspend fun surgeSettings(`value`: AwsNodePoolUpdateSettingsSurgeSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.surgeSettings = mapped
}
/**
* @param argument Optional. Settings for surge update.
*/
@JvmName("gnccpnpjxmejrewy")
public suspend fun surgeSettings(argument: suspend AwsNodePoolUpdateSettingsSurgeSettingsArgsBuilder.() -> Unit) {
val toBeMapped = AwsNodePoolUpdateSettingsSurgeSettingsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.surgeSettings = mapped
}
internal fun build(): AwsNodePoolUpdateSettingsArgs = AwsNodePoolUpdateSettingsArgs(
surgeSettings = surgeSettings,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy