com.pulumi.gcp.dataplex.kotlin.inputs.DatascanDataQualitySpecRuleRegexExpectationArgs.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.dataplex.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataplex.inputs.DatascanDataQualitySpecRuleRegexExpectationArgs.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 regex A regular expression the column value is expected to match.
*/
public data class DatascanDataQualitySpecRuleRegexExpectationArgs(
public val regex: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataplex.inputs.DatascanDataQualitySpecRuleRegexExpectationArgs =
com.pulumi.gcp.dataplex.inputs.DatascanDataQualitySpecRuleRegexExpectationArgs.builder()
.regex(regex.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatascanDataQualitySpecRuleRegexExpectationArgs].
*/
@PulumiTagMarker
public class DatascanDataQualitySpecRuleRegexExpectationArgsBuilder internal constructor() {
private var regex: Output? = null
/**
* @param value A regular expression the column value is expected to match.
*/
@JvmName("hxdteavddubbmakc")
public suspend fun regex(`value`: Output) {
this.regex = value
}
/**
* @param value A regular expression the column value is expected to match.
*/
@JvmName("tbjldlpnafuvogll")
public suspend fun regex(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.regex = mapped
}
internal fun build(): DatascanDataQualitySpecRuleRegexExpectationArgs =
DatascanDataQualitySpecRuleRegexExpectationArgs(
regex = regex ?: throw PulumiNullFieldException("regex"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy