com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterControlPlaneApiServerArgArgs.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.BareMetalClusterControlPlaneApiServerArgArgs.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 BareMetalClusterControlPlaneApiServerArgArgs(
public val argument: Output,
public val `value`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterControlPlaneApiServerArgArgs =
com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterControlPlaneApiServerArgArgs.builder()
.argument(argument.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BareMetalClusterControlPlaneApiServerArgArgs].
*/
@PulumiTagMarker
public class BareMetalClusterControlPlaneApiServerArgArgsBuilder 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("hsewpckugqxitrkk")
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("mfyrwiqxvgsnimqp")
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("tywpsmtjarkcigbh")
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("hbciatdylexdqfnf")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): BareMetalClusterControlPlaneApiServerArgArgs =
BareMetalClusterControlPlaneApiServerArgArgs(
argument = argument ?: throw PulumiNullFieldException("argument"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy