com.pulumi.gcp.organizations.kotlin.inputs.IAMBindingConditionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.organizations.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.organizations.inputs.IAMBindingConditionArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property description
* @property expression
* @property title
*/
public data class IAMBindingConditionArgs(
public val description: Output? = null,
public val expression: Output,
public val title: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.organizations.inputs.IAMBindingConditionArgs =
com.pulumi.gcp.organizations.inputs.IAMBindingConditionArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.expression(expression.applyValue({ args0 -> args0 }))
.title(title.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IAMBindingConditionArgs].
*/
@PulumiTagMarker
public class IAMBindingConditionArgsBuilder internal constructor() {
private var description: Output? = null
private var expression: Output? = null
private var title: Output? = null
/**
* @param value
*/
@JvmName("ulgftnxqdqnacvdu")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value
*/
@JvmName("aqcsvhbdrsdedyqv")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value
*/
@JvmName("fvrinpnnpangdvxi")
public suspend fun title(`value`: Output) {
this.title = value
}
/**
* @param value
*/
@JvmName("jgswhupanmcehhay")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value
*/
@JvmName("fkpqgiswhwkdfywe")
public suspend fun expression(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.expression = mapped
}
/**
* @param value
*/
@JvmName("kgwdeelvjrdwdddn")
public suspend fun title(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.title = mapped
}
internal fun build(): IAMBindingConditionArgs = IAMBindingConditionArgs(
description = description,
expression = expression ?: throw PulumiNullFieldException("expression"),
title = title ?: throw PulumiNullFieldException("title"),
)
}