com.pulumi.gcp.dataform.kotlin.RepositoryIamMemberArgs.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.dataform.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataform.RepositoryIamMemberArgs.builder
import com.pulumi.gcp.dataform.kotlin.inputs.RepositoryIamMemberConditionArgs
import com.pulumi.gcp.dataform.kotlin.inputs.RepositoryIamMemberConditionArgsBuilder
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 member
* @property project
* @property region
* @property repository
* @property role
*/
public data class RepositoryIamMemberArgs(
public val condition: Output? = null,
public val member: 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.RepositoryIamMemberArgs =
com.pulumi.gcp.dataform.RepositoryIamMemberArgs.builder()
.condition(condition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.member(member?.applyValue({ 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 [RepositoryIamMemberArgs].
*/
@PulumiTagMarker
public class RepositoryIamMemberArgsBuilder internal constructor() {
private var condition: Output? = null
private var member: 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("olxmwydofswinwhi")
public suspend fun condition(`value`: Output) {
this.condition = value
}
/**
* @param value
*/
@JvmName("awocmuammmaglfcf")
public suspend fun member(`value`: Output) {
this.member = value
}
/**
* @param value
*/
@JvmName("mbgrxlomuiejuoxp")
public suspend fun project(`value`: Output) {
this.project = value
}
/**
* @param value
*/
@JvmName("ghwlgysltuwrutcr")
public suspend fun region(`value`: Output) {
this.region = value
}
/**
* @param value
*/
@JvmName("bnxrjqpdbsnlwhwr")
public suspend fun repository(`value`: Output) {
this.repository = value
}
/**
* @param value
*/
@JvmName("jlasccsjxootpwey")
public suspend fun role(`value`: Output) {
this.role = value
}
/**
* @param value
*/
@JvmName("akhxjyhoqsckgnvt")
public suspend fun condition(`value`: RepositoryIamMemberConditionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.condition = mapped
}
/**
* @param argument
*/
@JvmName("ejyfkikvyphtxhem")
public suspend fun condition(argument: suspend RepositoryIamMemberConditionArgsBuilder.() -> Unit) {
val toBeMapped = RepositoryIamMemberConditionArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.condition = mapped
}
/**
* @param value
*/
@JvmName("jvixjkomxlwytvoq")
public suspend fun member(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.member = mapped
}
/**
* @param value
*/
@JvmName("jtjdmtmsgwqxwkka")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.project = mapped
}
/**
* @param value
*/
@JvmName("mxtodmhtdcemomho")
public suspend fun region(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.region = mapped
}
/**
* @param value
*/
@JvmName("vjcbwprtawedmrfu")
public suspend fun repository(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.repository = mapped
}
/**
* @param value
*/
@JvmName("rvapltpxjbbrbkhm")
public suspend fun role(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.role = mapped
}
internal fun build(): RepositoryIamMemberArgs = RepositoryIamMemberArgs(
condition = condition,
member = member,
project = project,
region = region,
repository = repository,
role = role,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy