com.pulumi.gcp.accesscontextmanager.kotlin.inputs.AccessPolicyIamBindingConditionArgs.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.accesscontextmanager.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.accesscontextmanager.inputs.AccessPolicyIamBindingConditionArgs.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 AccessPolicyIamBindingConditionArgs(
public val description: Output? = null,
public val expression: Output,
public val title: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.AccessPolicyIamBindingConditionArgs =
com.pulumi.gcp.accesscontextmanager.inputs.AccessPolicyIamBindingConditionArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.expression(expression.applyValue({ args0 -> args0 }))
.title(title.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccessPolicyIamBindingConditionArgs].
*/
@PulumiTagMarker
public class AccessPolicyIamBindingConditionArgsBuilder internal constructor() {
private var description: Output? = null
private var expression: Output? = null
private var title: Output? = null
/**
* @param value
*/
@JvmName("eugstllbtyikmycy")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value
*/
@JvmName("kicytkldakbyxwiu")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value
*/
@JvmName("wrvipkifoktnqjut")
public suspend fun title(`value`: Output) {
this.title = value
}
/**
* @param value
*/
@JvmName("lewogkbfaybaofqn")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value
*/
@JvmName("tqcsyhocvwvyfbis")
public suspend fun expression(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.expression = mapped
}
/**
* @param value
*/
@JvmName("huyddksvehwehros")
public suspend fun title(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.title = mapped
}
internal fun build(): AccessPolicyIamBindingConditionArgs = AccessPolicyIamBindingConditionArgs(
description = description,
expression = expression ?: throw PulumiNullFieldException("expression"),
title = title ?: throw PulumiNullFieldException("title"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy