com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterOsEnvironmentConfigArgs.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.BareMetalClusterOsEnvironmentConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property packageRepoExcluded Whether the package repo should not be included when initializing
* bare metal machines.
*/
public data class BareMetalClusterOsEnvironmentConfigArgs(
public val packageRepoExcluded: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterOsEnvironmentConfigArgs =
com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterOsEnvironmentConfigArgs.builder()
.packageRepoExcluded(packageRepoExcluded.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BareMetalClusterOsEnvironmentConfigArgs].
*/
@PulumiTagMarker
public class BareMetalClusterOsEnvironmentConfigArgsBuilder internal constructor() {
private var packageRepoExcluded: Output? = null
/**
* @param value Whether the package repo should not be included when initializing
* bare metal machines.
*/
@JvmName("qrshcrpbmunyinst")
public suspend fun packageRepoExcluded(`value`: Output) {
this.packageRepoExcluded = value
}
/**
* @param value Whether the package repo should not be included when initializing
* bare metal machines.
*/
@JvmName("orycrqmgoitiqnfd")
public suspend fun packageRepoExcluded(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.packageRepoExcluded = mapped
}
internal fun build(): BareMetalClusterOsEnvironmentConfigArgs =
BareMetalClusterOsEnvironmentConfigArgs(
packageRepoExcluded = packageRepoExcluded ?: throw PulumiNullFieldException("packageRepoExcluded"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy