com.pulumi.gcp.dataplex.kotlin.inputs.DatascanDataQualitySpecRuleStatisticRangeExpectationArgs.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.DatascanDataQualitySpecRuleStatisticRangeExpectationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property maxValue The maximum column statistic value allowed for a row to pass this validation.
* At least one of minValue and maxValue need to be provided.
* @property minValue The minimum column statistic value allowed for a row to pass this validation.
* At least one of minValue and maxValue need to be provided.
* @property statistic column statistics.
* Possible values are: `STATISTIC_UNDEFINED`, `MEAN`, `MIN`, `MAX`.
* @property strictMaxEnabled Whether column statistic needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
* Only relevant if a maxValue has been defined. Default = false.
* @property strictMinEnabled Whether column statistic needs to be strictly greater than ('>') the minimum, or if equality is allowed.
* Only relevant if a minValue has been defined. Default = false.
*/
public data class DatascanDataQualitySpecRuleStatisticRangeExpectationArgs(
public val maxValue: Output? = null,
public val minValue: Output? = null,
public val statistic: Output,
public val strictMaxEnabled: Output? = null,
public val strictMinEnabled: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataplex.inputs.DatascanDataQualitySpecRuleStatisticRangeExpectationArgs =
com.pulumi.gcp.dataplex.inputs.DatascanDataQualitySpecRuleStatisticRangeExpectationArgs.builder()
.maxValue(maxValue?.applyValue({ args0 -> args0 }))
.minValue(minValue?.applyValue({ args0 -> args0 }))
.statistic(statistic.applyValue({ args0 -> args0 }))
.strictMaxEnabled(strictMaxEnabled?.applyValue({ args0 -> args0 }))
.strictMinEnabled(strictMinEnabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatascanDataQualitySpecRuleStatisticRangeExpectationArgs].
*/
@PulumiTagMarker
public class DatascanDataQualitySpecRuleStatisticRangeExpectationArgsBuilder internal constructor() {
private var maxValue: Output? = null
private var minValue: Output? = null
private var statistic: Output? = null
private var strictMaxEnabled: Output? = null
private var strictMinEnabled: Output? = null
/**
* @param value The maximum column statistic value allowed for a row to pass this validation.
* At least one of minValue and maxValue need to be provided.
*/
@JvmName("uigjkysdjwvuryeq")
public suspend fun maxValue(`value`: Output) {
this.maxValue = value
}
/**
* @param value The minimum column statistic value allowed for a row to pass this validation.
* At least one of minValue and maxValue need to be provided.
*/
@JvmName("trbubqrllueagqbq")
public suspend fun minValue(`value`: Output) {
this.minValue = value
}
/**
* @param value column statistics.
* Possible values are: `STATISTIC_UNDEFINED`, `MEAN`, `MIN`, `MAX`.
*/
@JvmName("mgeweobynsvldnob")
public suspend fun statistic(`value`: Output) {
this.statistic = value
}
/**
* @param value Whether column statistic needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
* Only relevant if a maxValue has been defined. Default = false.
*/
@JvmName("wcqcjyvuuhxqnglp")
public suspend fun strictMaxEnabled(`value`: Output) {
this.strictMaxEnabled = value
}
/**
* @param value Whether column statistic needs to be strictly greater than ('>') the minimum, or if equality is allowed.
* Only relevant if a minValue has been defined. Default = false.
*/
@JvmName("eeatbglgcxpwqqvl")
public suspend fun strictMinEnabled(`value`: Output) {
this.strictMinEnabled = value
}
/**
* @param value The maximum column statistic value allowed for a row to pass this validation.
* At least one of minValue and maxValue need to be provided.
*/
@JvmName("ftpxdgctvmvwcqsk")
public suspend fun maxValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxValue = mapped
}
/**
* @param value The minimum column statistic value allowed for a row to pass this validation.
* At least one of minValue and maxValue need to be provided.
*/
@JvmName("obfwqspouirnsfeb")
public suspend fun minValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minValue = mapped
}
/**
* @param value column statistics.
* Possible values are: `STATISTIC_UNDEFINED`, `MEAN`, `MIN`, `MAX`.
*/
@JvmName("mwkkuagvigdheypj")
public suspend fun statistic(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.statistic = mapped
}
/**
* @param value Whether column statistic needs to be strictly lesser than ('<') the maximum, or if equality is allowed.
* Only relevant if a maxValue has been defined. Default = false.
*/
@JvmName("idtfrodrtscvdtfg")
public suspend fun strictMaxEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.strictMaxEnabled = mapped
}
/**
* @param value Whether column statistic needs to be strictly greater than ('>') the minimum, or if equality is allowed.
* Only relevant if a minValue has been defined. Default = false.
*/
@JvmName("tfgmhjdhmkngrhit")
public suspend fun strictMinEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.strictMinEnabled = mapped
}
internal fun build(): DatascanDataQualitySpecRuleStatisticRangeExpectationArgs =
DatascanDataQualitySpecRuleStatisticRangeExpectationArgs(
maxValue = maxValue,
minValue = minValue,
statistic = statistic ?: throw PulumiNullFieldException("statistic"),
strictMaxEnabled = strictMaxEnabled,
strictMinEnabled = strictMinEnabled,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy