com.pulumi.gcp.dataplex.kotlin.outputs.DatascanDataQualitySpecRuleRangeExpectation.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 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 value allowed for a row to pass this validation. At least one of minValue and maxValue need to be provided.
* @property strictMaxEnabled Whether each value 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 each value 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 DatascanDataQualitySpecRuleRangeExpectation(
public val maxValue: String? = null,
public val minValue: String? = null,
public val strictMaxEnabled: Boolean? = null,
public val strictMinEnabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.DatascanDataQualitySpecRuleRangeExpectation): DatascanDataQualitySpecRuleRangeExpectation = DatascanDataQualitySpecRuleRangeExpectation(
maxValue = javaType.maxValue().map({ args0 -> args0 }).orElse(null),
minValue = javaType.minValue().map({ args0 -> args0 }).orElse(null),
strictMaxEnabled = javaType.strictMaxEnabled().map({ args0 -> args0 }).orElse(null),
strictMinEnabled = javaType.strictMinEnabled().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy