com.pulumi.gcp.securitycenter.kotlin.inputs.FolderCustomModuleCustomConfigCustomOutputPropertyArgs.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.securitycenter.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.securitycenter.inputs.FolderCustomModuleCustomConfigCustomOutputPropertyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property name Name of the property for the custom output.
* @property valueExpression The CEL expression for the custom output. A resource property can be specified
* to return the value of the property or a text string enclosed in quotation marks.
* Structure is documented below.
*/
public data class FolderCustomModuleCustomConfigCustomOutputPropertyArgs(
public val name: Output? = null,
public val valueExpression: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.securitycenter.inputs.FolderCustomModuleCustomConfigCustomOutputPropertyArgs =
com.pulumi.gcp.securitycenter.inputs.FolderCustomModuleCustomConfigCustomOutputPropertyArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.valueExpression(
valueExpression?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [FolderCustomModuleCustomConfigCustomOutputPropertyArgs].
*/
@PulumiTagMarker
public class FolderCustomModuleCustomConfigCustomOutputPropertyArgsBuilder internal constructor() {
private var name: Output? = null
private var valueExpression:
Output? = null
/**
* @param value Name of the property for the custom output.
*/
@JvmName("unyhbmholbwvdvan")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The CEL expression for the custom output. A resource property can be specified
* to return the value of the property or a text string enclosed in quotation marks.
* Structure is documented below.
*/
@JvmName("inioorllsaobvgsk")
public suspend fun valueExpression(`value`: Output) {
this.valueExpression = value
}
/**
* @param value Name of the property for the custom output.
*/
@JvmName("kravdbrnmjknmtmj")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The CEL expression for the custom output. A resource property can be specified
* to return the value of the property or a text string enclosed in quotation marks.
* Structure is documented below.
*/
@JvmName("ngpbhstgctxuggbd")
public suspend fun valueExpression(`value`: FolderCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.valueExpression = mapped
}
/**
* @param argument The CEL expression for the custom output. A resource property can be specified
* to return the value of the property or a text string enclosed in quotation marks.
* Structure is documented below.
*/
@JvmName("ppexutsfpebcffru")
public suspend fun valueExpression(argument: suspend FolderCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgsBuilder.() -> Unit) {
val toBeMapped =
FolderCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.valueExpression = mapped
}
internal fun build(): FolderCustomModuleCustomConfigCustomOutputPropertyArgs =
FolderCustomModuleCustomConfigCustomOutputPropertyArgs(
name = name,
valueExpression = valueExpression,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy