com.pulumi.gcp.securesourcemanager.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.securesourcemanager.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.securesourcemanager.InstanceIamPolicyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property instanceId
* @property location
* @property policyData
* @property project
*/
public data class InstanceIamPolicyArgs(
public val instanceId: Output? = null,
public val location: Output? = null,
public val policyData: Output? = null,
public val project: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.securesourcemanager.InstanceIamPolicyArgs =
com.pulumi.gcp.securesourcemanager.InstanceIamPolicyArgs.builder()
.instanceId(instanceId?.applyValue({ args0 -> args0 }))
.location(location?.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 instanceId: Output? = null
private var location: Output? = null
private var policyData: Output? = null
private var project: Output? = null
/**
* @param value
*/
@JvmName("pnxdarydxemoxyje")
public suspend fun instanceId(`value`: Output) {
this.instanceId = value
}
/**
* @param value
*/
@JvmName("txobespmyoqisxcx")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value
*/
@JvmName("kqhcknlanjtxxhpe")
public suspend fun policyData(`value`: Output) {
this.policyData = value
}
/**
* @param value
*/
@JvmName("bhefxdkvgffjidgb")
public suspend fun project(`value`: Output) {
this.project = value
}
/**
* @param value
*/
@JvmName("dbrodkbrsoxewyxq")
public suspend fun instanceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.instanceId = mapped
}
/**
* @param value
*/
@JvmName("pawfdqiapvyrqhmm")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value
*/
@JvmName("cfhxrpsyplmkjamk")
public suspend fun policyData(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.policyData = mapped
}
/**
* @param value
*/
@JvmName("maynuhunfbadcdnh")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.project = mapped
}
internal fun build(): InstanceIamPolicyArgs = InstanceIamPolicyArgs(
instanceId = instanceId,
location = location,
policyData = policyData,
project = project,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy