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

com.pulumi.gcp.accesscontextmanager.kotlin.inputs.AccessLevelsAccessLevelCustomExprArgs.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.accesscontextmanager.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelsAccessLevelCustomExprArgs.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 Description of the expression
 * @property expression Textual representation of an expression in Common Expression Language syntax.
 * @property location String indicating the location of the expression for error reporting, e.g. a file name and a position in the file
 * @property title Title for the expression, i.e. a short string describing its purpose.
 */
public data class AccessLevelsAccessLevelCustomExprArgs(
    public val description: Output? = null,
    public val expression: Output,
    public val location: Output? = null,
    public val title: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelsAccessLevelCustomExprArgs =
        com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelsAccessLevelCustomExprArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .expression(expression.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 }))
            .title(title?.applyValue({ args0 -> args0 })).build()
}

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

    private var expression: Output? = null

    private var location: Output? = null

    private var title: Output? = null

    /**
     * @param value Description of the expression
     */
    @JvmName("snqqxnmoebdfnoef")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

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

    /**
     * @param value String indicating the location of the expression for error reporting, e.g. a file name and a position in the file
     */
    @JvmName("tiqqyoasuecwtuku")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

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

    /**
     * @param value Description of the expression
     */
    @JvmName("ukdwencbysqyafaw")
    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("reshcjimrpfbxcfd")
    public suspend fun expression(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.expression = mapped
    }

    /**
     * @param value String indicating the location of the expression for error reporting, e.g. a file name and a position in the file
     */
    @JvmName("todxvwlpwkbjootf")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy