com.pulumi.gcp.dataform.kotlin.RepositoryIamBindingArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataform.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataform.RepositoryIamBindingArgs.builder
import com.pulumi.gcp.dataform.kotlin.inputs.RepositoryIamBindingConditionArgs
import com.pulumi.gcp.dataform.kotlin.inputs.RepositoryIamBindingConditionArgsBuilder
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 members
* @property project
* @property region
* @property repository
* @property role
*/
public data class RepositoryIamBindingArgs(
public val condition: Output? = null,
public val members: Output>? = null,
public val project: Output? = null,
public val region: Output? = null,
public val repository: Output? = null,
public val role: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataform.RepositoryIamBindingArgs =
com.pulumi.gcp.dataform.RepositoryIamBindingArgs.builder()
.condition(condition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.members(members?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.project(project?.applyValue({ args0 -> args0 }))
.region(region?.applyValue({ args0 -> args0 }))
.repository(repository?.applyValue({ args0 -> args0 }))
.role(role?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RepositoryIamBindingArgs].
*/
@PulumiTagMarker
public class RepositoryIamBindingArgsBuilder internal constructor() {
private var condition: Output? = null
private var members: Output>? = null
private var project: Output? = null
private var region: Output? = null
private var repository: Output? = null
private var role: Output? = null
/**
* @param value
*/
@JvmName("lqdxowbtcgvbpqdc")
public suspend fun condition(`value`: Output) {
this.condition = value
}
/**
* @param value
*/
@JvmName("jcitsemrfhwxbtuv")
public suspend fun members(`value`: Output>) {
this.members = value
}
@JvmName("dakbslptphqqqryx")
public suspend fun members(vararg values: Output) {
this.members = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("ikotejrfmskausyj")
public suspend fun members(values: List