com.pulumi.gcp.container.kotlin.inputs.AwsNodePoolConfigInstancePlacementArgs.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.AwsNodePoolConfigInstancePlacementArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property tenancy The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED, DEFAULT, DEDICATED, HOST
*/
public data class AwsNodePoolConfigInstancePlacementArgs(
public val tenancy: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.AwsNodePoolConfigInstancePlacementArgs =
com.pulumi.gcp.container.inputs.AwsNodePoolConfigInstancePlacementArgs.builder()
.tenancy(tenancy?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AwsNodePoolConfigInstancePlacementArgs].
*/
@PulumiTagMarker
public class AwsNodePoolConfigInstancePlacementArgsBuilder internal constructor() {
private var tenancy: Output? = null
/**
* @param value The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED, DEFAULT, DEDICATED, HOST
*/
@JvmName("icvhqehadhhjdckw")
public suspend fun tenancy(`value`: Output) {
this.tenancy = value
}
/**
* @param value The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED, DEFAULT, DEDICATED, HOST
*/
@JvmName("bmwuodjfqvddqpba")
public suspend fun tenancy(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tenancy = mapped
}
internal fun build(): AwsNodePoolConfigInstancePlacementArgs =
AwsNodePoolConfigInstancePlacementArgs(
tenancy = tenancy,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy