com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterControlPlaneApiServerArgArgs.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.BareMetalAdminClusterControlPlaneApiServerArgArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property argument The argument name as it appears on the API Server command line please make sure to remove the leading dashes.
* @property value The value of the arg as it will be passed to the API Server command line.
*/
public data class BareMetalAdminClusterControlPlaneApiServerArgArgs(
public val argument: Output,
public val `value`: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneApiServerArgArgs =
com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneApiServerArgArgs.builder()
.argument(argument.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BareMetalAdminClusterControlPlaneApiServerArgArgs].
*/
@PulumiTagMarker
public class BareMetalAdminClusterControlPlaneApiServerArgArgsBuilder internal constructor() {
private var argument: Output? = null
private var `value`: Output? = null
/**
* @param value The argument name as it appears on the API Server command line please make sure to remove the leading dashes.
*/
@JvmName("lfhfymyjaodaaxxg")
public suspend fun argument(`value`: Output) {
this.argument = value
}
/**
* @param value The value of the arg as it will be passed to the API Server command line.
*/
@JvmName("qhntrirfcwbexjrq")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The argument name as it appears on the API Server command line please make sure to remove the leading dashes.
*/
@JvmName("xxnwwyhnwoseojcg")
public suspend fun argument(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.argument = mapped
}
/**
* @param value The value of the arg as it will be passed to the API Server command line.
*/
@JvmName("byveclmlarqefmhh")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): BareMetalAdminClusterControlPlaneApiServerArgArgs =
BareMetalAdminClusterControlPlaneApiServerArgArgs(
argument = argument ?: throw PulumiNullFieldException("argument"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy