com.pulumi.gcp.clouddeploy.kotlin.TargetIamBindingArgs.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.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("ytymkplmjaqookrn")
public suspend fun condition(`value`: Output) {
this.condition = value
}
/**
* @param value
*/
@JvmName("wytijvnihsbtaoke")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value
*/
@JvmName("kylvlivgiynxkcsn")
public suspend fun members(`value`: Output>) {
this.members = value
}
@JvmName("uriegeyavklatysq")
public suspend fun members(vararg values: Output) {
this.members = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("dpgcxbfnmvwwayhl")
public suspend fun members(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy