com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterNetworkConfigArgs.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.BareMetalAdminClusterNetworkConfigArgs.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 islandModeCidr A nested object resource
* Structure is documented below.
*/
public data class BareMetalAdminClusterNetworkConfigArgs(
public val islandModeCidr: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNetworkConfigArgs =
com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNetworkConfigArgs.builder()
.islandModeCidr(
islandModeCidr?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [BareMetalAdminClusterNetworkConfigArgs].
*/
@PulumiTagMarker
public class BareMetalAdminClusterNetworkConfigArgsBuilder internal constructor() {
private var islandModeCidr: Output? = null
/**
* @param value A nested object resource
* Structure is documented below.
*/
@JvmName("qsuyebptkbhmfcax")
public suspend fun islandModeCidr(`value`: Output) {
this.islandModeCidr = value
}
/**
* @param value A nested object resource
* Structure is documented below.
*/
@JvmName("oxfmbchtblvmrhlj")
public suspend fun islandModeCidr(`value`: BareMetalAdminClusterNetworkConfigIslandModeCidrArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.islandModeCidr = mapped
}
/**
* @param argument A nested object resource
* Structure is documented below.
*/
@JvmName("pibliwqgnxfronbt")
public suspend fun islandModeCidr(argument: suspend BareMetalAdminClusterNetworkConfigIslandModeCidrArgsBuilder.() -> Unit) {
val toBeMapped = BareMetalAdminClusterNetworkConfigIslandModeCidrArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.islandModeCidr = mapped
}
internal fun build(): BareMetalAdminClusterNetworkConfigArgs =
BareMetalAdminClusterNetworkConfigArgs(
islandModeCidr = islandModeCidr,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy