com.pulumi.gcp.workbench.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.workbench.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.workbench.InstanceIamMemberArgs.builder
import com.pulumi.gcp.workbench.kotlin.inputs.InstanceIamMemberConditionArgs
import com.pulumi.gcp.workbench.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 location
* @property member
* @property name
* @property project
* @property role
*/
public data class InstanceIamMemberArgs(
public val condition: Output? = null,
public val location: Output? = null,
public val member: Output? = null,
public val name: Output? = null,
public val project: Output? = null,
public val role: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.workbench.InstanceIamMemberArgs =
com.pulumi.gcp.workbench.InstanceIamMemberArgs.builder()
.condition(condition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.location(location?.applyValue({ args0 -> args0 }))
.member(member?.applyValue({ args0 -> args0 }))
.name(name?.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 location: Output? = null
private var member: Output? = null
private var name: Output? = null
private var project: Output? = null
private var role: Output? = null
/**
* @param value
*/
@JvmName("dfccvqnyssnxmkea")
public suspend fun condition(`value`: Output) {
this.condition = value
}
/**
* @param value
*/
@JvmName("pfsoylloimcwrprf")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value
*/
@JvmName("pnokptvbasqjulcc")
public suspend fun member(`value`: Output) {
this.member = value
}
/**
* @param value
*/
@JvmName("rlyppgoajlbvgeok")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("logaeftheyaawrna")
public suspend fun project(`value`: Output) {
this.project = value
}
/**
* @param value
*/
@JvmName("uffxwfcigdniglkk")
public suspend fun role(`value`: Output) {
this.role = value
}
/**
* @param value
*/
@JvmName("wfbqxxkqnwybwtqq")
public suspend fun condition(`value`: InstanceIamMemberConditionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.condition = mapped
}
/**
* @param argument
*/
@JvmName("idobakbnsxhpacvi")
public suspend fun condition(argument: suspend InstanceIamMemberConditionArgsBuilder.() -> Unit) {
val toBeMapped = InstanceIamMemberConditionArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.condition = mapped
}
/**
* @param value
*/
@JvmName("ifuhvvqthklmtiah")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value
*/
@JvmName("vvoalctemvuicgbu")
public suspend fun member(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.member = mapped
}
/**
* @param value
*/
@JvmName("hltcwcecxgiigvul")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value
*/
@JvmName("akdupgjhjeeaatju")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.project = mapped
}
/**
* @param value
*/
@JvmName("rugwccxnkeqnmnyx")
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,
location = location,
member = member,
name = name,
project = project,
role = role,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy