com.pulumi.gcp.compute.kotlin.inputs.NodeGroupShareSettingsProjectMapArgs.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.compute.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.NodeGroupShareSettingsProjectMapArgs.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 id The identifier for this object. Format specified above.
* @property projectId The project id/number should be the same as the key of this project config in the project map.
*/
public data class NodeGroupShareSettingsProjectMapArgs(
public val id: Output,
public val projectId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.compute.inputs.NodeGroupShareSettingsProjectMapArgs =
com.pulumi.gcp.compute.inputs.NodeGroupShareSettingsProjectMapArgs.builder()
.id(id.applyValue({ args0 -> args0 }))
.projectId(projectId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NodeGroupShareSettingsProjectMapArgs].
*/
@PulumiTagMarker
public class NodeGroupShareSettingsProjectMapArgsBuilder internal constructor() {
private var id: Output? = null
private var projectId: Output? = null
/**
* @param value The identifier for this object. Format specified above.
*/
@JvmName("ogvjuldwjbrypgfc")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The project id/number should be the same as the key of this project config in the project map.
*/
@JvmName("fnugvnrknuabwwkx")
public suspend fun projectId(`value`: Output) {
this.projectId = value
}
/**
* @param value The identifier for this object. Format specified above.
*/
@JvmName("mrntskgfrneujjbg")
public suspend fun id(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The project id/number should be the same as the key of this project config in the project map.
*/
@JvmName("dkkltvhnejnwtspc")
public suspend fun projectId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.projectId = mapped
}
internal fun build(): NodeGroupShareSettingsProjectMapArgs = NodeGroupShareSettingsProjectMapArgs(
id = id ?: throw PulumiNullFieldException("id"),
projectId = projectId ?: throw PulumiNullFieldException("projectId"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy