com.pulumi.gcp.networksecurity.kotlin.AddressGroupIamMemberArgs.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.networksecurity.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.networksecurity.AddressGroupIamMemberArgs.builder
import com.pulumi.gcp.networksecurity.kotlin.inputs.AddressGroupIamMemberConditionArgs
import com.pulumi.gcp.networksecurity.kotlin.inputs.AddressGroupIamMemberConditionArgsBuilder
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 AddressGroupIamMemberArgs(
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.networksecurity.AddressGroupIamMemberArgs =
com.pulumi.gcp.networksecurity.AddressGroupIamMemberArgs.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 [AddressGroupIamMemberArgs].
*/
@PulumiTagMarker
public class AddressGroupIamMemberArgsBuilder 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("fapwuechiaqehcvv")
public suspend fun condition(`value`: Output) {
this.condition = value
}
/**
* @param value
*/
@JvmName("iwqtmwevioacrjlu")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value
*/
@JvmName("xwnkddcljanweocg")
public suspend fun member(`value`: Output) {
this.member = value
}
/**
* @param value
*/
@JvmName("ygtpxhgnlskqrcay")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("geafnwqcuudublsh")
public suspend fun project(`value`: Output) {
this.project = value
}
/**
* @param value
*/
@JvmName("rwkxgejysbcisoye")
public suspend fun role(`value`: Output) {
this.role = value
}
/**
* @param value
*/
@JvmName("fokhrafjandppfwi")
public suspend fun condition(`value`: AddressGroupIamMemberConditionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.condition = mapped
}
/**
* @param argument
*/
@JvmName("aptmihtrooqtdtlc")
public suspend fun condition(argument: suspend AddressGroupIamMemberConditionArgsBuilder.() -> Unit) {
val toBeMapped = AddressGroupIamMemberConditionArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.condition = mapped
}
/**
* @param value
*/
@JvmName("ixodpsqbmgwgivwk")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value
*/
@JvmName("kosnfmptyldgccuk")
public suspend fun member(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.member = mapped
}
/**
* @param value
*/
@JvmName("tplfpcarqvnemkwr")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value
*/
@JvmName("lwrpnnbnkkuqakpo")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.project = mapped
}
/**
* @param value
*/
@JvmName("jacpkbbpphawgtgc")
public suspend fun role(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.role = mapped
}
internal fun build(): AddressGroupIamMemberArgs = AddressGroupIamMemberArgs(
condition = condition,
location = location,
member = member,
name = name,
project = project,
role = role,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy