All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.iap.kotlin.inputs.WebBackendServiceIamBindingConditionArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.iap.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.iap.inputs.WebBackendServiceIamBindingConditionArgs.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 An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
 * > **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the
 * identifier for the binding. This means that if any part of the condition is changed out-of-band, the provider will
 * consider it to be an entirely different resource and will treat it as such.
 * @property expression Textual representation of an expression in Common Expression Language syntax.
 * @property title A title for the expression, i.e. a short string describing its purpose.
 */
public data class WebBackendServiceIamBindingConditionArgs(
    public val description: Output? = null,
    public val expression: Output,
    public val title: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.iap.inputs.WebBackendServiceIamBindingConditionArgs =
        com.pulumi.gcp.iap.inputs.WebBackendServiceIamBindingConditionArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .expression(expression.applyValue({ args0 -> args0 }))
            .title(title.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WebBackendServiceIamBindingConditionArgs].
 */
@PulumiTagMarker
public class WebBackendServiceIamBindingConditionArgsBuilder internal constructor() {
    private var description: Output? = null

    private var expression: Output? = null

    private var title: Output? = null

    /**
     * @param value An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
     * > **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the
     * identifier for the binding. This means that if any part of the condition is changed out-of-band, the provider will
     * consider it to be an entirely different resource and will treat it as such.
     */
    @JvmName("ponfkfpftyytwxvm")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Textual representation of an expression in Common Expression Language syntax.
     */
    @JvmName("hghiufddpgvmejxr")
    public suspend fun expression(`value`: Output) {
        this.expression = value
    }

    /**
     * @param value A title for the expression, i.e. a short string describing its purpose.
     */
    @JvmName("unuvdogmsqwmguko")
    public suspend fun title(`value`: Output) {
        this.title = value
    }

    /**
     * @param value An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
     * > **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the
     * identifier for the binding. This means that if any part of the condition is changed out-of-band, the provider will
     * consider it to be an entirely different resource and will treat it as such.
     */
    @JvmName("bxwrosmkhdllipjw")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Textual representation of an expression in Common Expression Language syntax.
     */
    @JvmName("chxyqujepmdlcvik")
    public suspend fun expression(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.expression = mapped
    }

    /**
     * @param value A title for the expression, i.e. a short string describing its purpose.
     */
    @JvmName("lpxitkuotiqgkyjy")
    public suspend fun title(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.title = mapped
    }

    internal fun build(): WebBackendServiceIamBindingConditionArgs =
        WebBackendServiceIamBindingConditionArgs(
            description = description,
            expression = expression ?: throw PulumiNullFieldException("expression"),
            title = title ?: throw PulumiNullFieldException("title"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy