com.pulumi.gcp.workbench.kotlin.InstanceIamPolicyArgs.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.workbench.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.workbench.InstanceIamPolicyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property location
* @property name
* @property policyData
* @property project
*/
public data class InstanceIamPolicyArgs(
public val location: Output? = null,
public val name: Output? = null,
public val policyData: Output? = null,
public val project: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.workbench.InstanceIamPolicyArgs =
com.pulumi.gcp.workbench.InstanceIamPolicyArgs.builder()
.location(location?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.policyData(policyData?.applyValue({ args0 -> args0 }))
.project(project?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InstanceIamPolicyArgs].
*/
@PulumiTagMarker
public class InstanceIamPolicyArgsBuilder internal constructor() {
private var location: Output? = null
private var name: Output? = null
private var policyData: Output? = null
private var project: Output? = null
/**
* @param value
*/
@JvmName("deamkmxgvamthtpg")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value
*/
@JvmName("xfsmoroselreevii")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("aqvtqkcdxbkffqmh")
public suspend fun policyData(`value`: Output) {
this.policyData = value
}
/**
* @param value
*/
@JvmName("lqfuvnqnwowfuwji")
public suspend fun project(`value`: Output) {
this.project = value
}
/**
* @param value
*/
@JvmName("ykfbwjopxicgfirf")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value
*/
@JvmName("aveflhbanyqwiocb")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value
*/
@JvmName("bqdsvxvckqpwgaqh")
public suspend fun policyData(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.policyData = mapped
}
/**
* @param value
*/
@JvmName("csprekamnbkgiamf")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.project = mapped
}
internal fun build(): InstanceIamPolicyArgs = InstanceIamPolicyArgs(
location = location,
name = name,
policyData = policyData,
project = project,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy