com.pulumi.gcp.clouddeploy.kotlin.TargetIamBindingArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.clouddeploy.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.clouddeploy.TargetIamBindingArgs.builder
import com.pulumi.gcp.clouddeploy.kotlin.inputs.TargetIamBindingConditionArgs
import com.pulumi.gcp.clouddeploy.kotlin.inputs.TargetIamBindingConditionArgsBuilder
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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property condition
* @property location
* @property members
* @property name
* @property project
* @property role
*/
public data class TargetIamBindingArgs(
public val condition: Output? = null,
public val location: Output? = null,
public val members: Output>? = null,
public val name: Output? = null,
public val project: Output? = null,
public val role: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.clouddeploy.TargetIamBindingArgs =
com.pulumi.gcp.clouddeploy.TargetIamBindingArgs.builder()
.condition(condition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.location(location?.applyValue({ args0 -> args0 }))
.members(members?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.name(name?.applyValue({ args0 -> args0 }))
.project(project?.applyValue({ args0 -> args0 }))
.role(role?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TargetIamBindingArgs].
*/
@PulumiTagMarker
public class TargetIamBindingArgsBuilder internal constructor() {
private var condition: Output? = null
private var location: Output? = null
private var members: Output>? = null
private var name: Output? = null
private var project: Output? = null
private var role: Output? = null
/**
* @param value
*/
@JvmName("oqkgkfwoafypgjld")
public suspend fun condition(`value`: Output) {
this.condition = value
}
/**
* @param value
*/
@JvmName("epilpxtehdlnnmtf")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value
*/
@JvmName("xvprycdwopmkfpcs")
public suspend fun members(`value`: Output>) {
this.members = value
}
@JvmName("qfceooavililutdu")
public suspend fun members(vararg values: Output) {
this.members = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("qjmolycousdnxsft")
public suspend fun members(values: List