com.pulumi.gcp.securesourcemanager.kotlin.InstanceIamMemberArgs.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.InstanceIamMemberArgs.builder
import com.pulumi.gcp.securesourcemanager.kotlin.inputs.InstanceIamMemberConditionArgs
import com.pulumi.gcp.securesourcemanager.kotlin.inputs.InstanceIamMemberConditionArgsBuilder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property condition
* @property instanceId
* @property location
* @property member
* @property project
* @property role
*/
public data class InstanceIamMemberArgs(
public val condition: Output? = null,
public val instanceId: Output? = null,
public val location: Output? = null,
public val member: Output? = null,
public val project: Output? = null,
public val role: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.securesourcemanager.InstanceIamMemberArgs =
com.pulumi.gcp.securesourcemanager.InstanceIamMemberArgs.builder()
.condition(condition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.instanceId(instanceId?.applyValue({ args0 -> args0 }))
.location(location?.applyValue({ args0 -> args0 }))
.member(member?.applyValue({ args0 -> args0 }))
.project(project?.applyValue({ args0 -> args0 }))
.role(role?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InstanceIamMemberArgs].
*/
@PulumiTagMarker
public class InstanceIamMemberArgsBuilder internal constructor() {
private var condition: Output? = null
private var instanceId: Output? = null
private var location: Output? = null
private var member: Output? = null
private var project: Output? = null
private var role: Output? = null
/**
* @param value
*/
@JvmName("seghtthojlpvnrdt")
public suspend fun condition(`value`: Output) {
this.condition = value
}
/**
* @param value
*/
@JvmName("gvfvjcohtpokgpjh")
public suspend fun instanceId(`value`: Output) {
this.instanceId = value
}
/**
* @param value
*/
@JvmName("ufxlrqebrgyjfvkj")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value
*/
@JvmName("bqxankxsfgbvxlqu")
public suspend fun member(`value`: Output) {
this.member = value
}
/**
* @param value
*/
@JvmName("xkftfdshfdcsoafv")
public suspend fun project(`value`: Output) {
this.project = value
}
/**
* @param value
*/
@JvmName("rjlhsorgbcnfqafd")
public suspend fun role(`value`: Output) {
this.role = value
}
/**
* @param value
*/
@JvmName("cjrhulhmaexgnlvy")
public suspend fun condition(`value`: InstanceIamMemberConditionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.condition = mapped
}
/**
* @param argument
*/
@JvmName("hdpfjiegcrtlssrk")
public suspend fun condition(argument: suspend InstanceIamMemberConditionArgsBuilder.() -> Unit) {
val toBeMapped = InstanceIamMemberConditionArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.condition = mapped
}
/**
* @param value
*/
@JvmName("ghaphpfppmtcoofg")
public suspend fun instanceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.instanceId = mapped
}
/**
* @param value
*/
@JvmName("uvrlspdtrqrnqgmf")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value
*/
@JvmName("cnkfbdtcurreeeje")
public suspend fun member(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.member = mapped
}
/**
* @param value
*/
@JvmName("xcdaulvofidcqrwg")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.project = mapped
}
/**
* @param value
*/
@JvmName("ydiclletnagmvxip")
public suspend fun role(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.role = mapped
}
internal fun build(): InstanceIamMemberArgs = InstanceIamMemberArgs(
condition = condition,
instanceId = instanceId,
location = location,
member = member,
project = project,
role = role,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy