com.pulumi.gcp.dataplex.kotlin.outputs.DatascanDataQualitySpecRuleStatisticRangeExpectation.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.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @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 DatascanDataQualitySpecRuleStatisticRangeExpectation(
public val maxValue: String? = null,
public val minValue: String? = null,
public val statistic: String,
public val strictMaxEnabled: Boolean? = null,
public val strictMinEnabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.DatascanDataQualitySpecRuleStatisticRangeExpectation): DatascanDataQualitySpecRuleStatisticRangeExpectation =
DatascanDataQualitySpecRuleStatisticRangeExpectation(
maxValue = javaType.maxValue().map({ args0 -> args0 }).orElse(null),
minValue = javaType.minValue().map({ args0 -> args0 }).orElse(null),
statistic = javaType.statistic(),
strictMaxEnabled = javaType.strictMaxEnabled().map({ args0 -> args0 }).orElse(null),
strictMinEnabled = javaType.strictMinEnabled().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy