com.pulumi.gcp.orgpolicy.kotlin.inputs.PolicyDryRunSpecRuleConditionArgs.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.orgpolicy.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.orgpolicy.inputs.PolicyDryRunSpecRuleConditionArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property description Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
* @property expression Textual representation of an expression in Common Expression Language syntax.
* @property location Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
* @property title Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
*/
public data class PolicyDryRunSpecRuleConditionArgs(
public val description: Output? = null,
public val expression: Output? = null,
public val location: Output? = null,
public val title: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.orgpolicy.inputs.PolicyDryRunSpecRuleConditionArgs =
com.pulumi.gcp.orgpolicy.inputs.PolicyDryRunSpecRuleConditionArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.expression(expression?.applyValue({ args0 -> args0 }))
.location(location?.applyValue({ args0 -> args0 }))
.title(title?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PolicyDryRunSpecRuleConditionArgs].
*/
@PulumiTagMarker
public class PolicyDryRunSpecRuleConditionArgsBuilder internal constructor() {
private var description: Output? = null
private var expression: Output? = null
private var location: Output? = null
private var title: Output? = null
/**
* @param value Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
*/
@JvmName("milccrplygyomjsm")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Textual representation of an expression in Common Expression Language syntax.
*/
@JvmName("dlsakkqhnwiigclr")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
*/
@JvmName("cyionmdrhnxidecy")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
*/
@JvmName("yyoqcbdcusbdnhrp")
public suspend fun title(`value`: Output) {
this.title = value
}
/**
* @param value Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
*/
@JvmName("tdhqowfcdfqycmow")
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("rxfdmcgbfvcoygaq")
public suspend fun expression(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.expression = mapped
}
/**
* @param value Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
*/
@JvmName("uwjwidgdoapjhprd")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
*/
@JvmName("ujdpekpidjvqxaja")
public suspend fun title(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.title = mapped
}
internal fun build(): PolicyDryRunSpecRuleConditionArgs = PolicyDryRunSpecRuleConditionArgs(
description = description,
expression = expression,
location = location,
title = title,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy