
com.pulumi.awsnative.databrew.kotlin.inputs.JobValidationConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.databrew.kotlin.inputs
import com.pulumi.awsnative.databrew.inputs.JobValidationConfigurationArgs.builder
import com.pulumi.awsnative.databrew.kotlin.enums.JobValidationMode
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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
/**
* Configuration to attach Rulesets to the job
* @property rulesetArn Arn of the Ruleset
* @property validationMode Mode of data quality validation. Default mode is "CHECK_ALL" which verifies all rules defined in the selected ruleset.
*/
public data class JobValidationConfigurationArgs(
public val rulesetArn: Output,
public val validationMode: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.databrew.inputs.JobValidationConfigurationArgs =
com.pulumi.awsnative.databrew.inputs.JobValidationConfigurationArgs.builder()
.rulesetArn(rulesetArn.applyValue({ args0 -> args0 }))
.validationMode(
validationMode?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [JobValidationConfigurationArgs].
*/
@PulumiTagMarker
public class JobValidationConfigurationArgsBuilder internal constructor() {
private var rulesetArn: Output? = null
private var validationMode: Output? = null
/**
* @param value Arn of the Ruleset
*/
@JvmName("yceyvphghgrtjxqa")
public suspend fun rulesetArn(`value`: Output) {
this.rulesetArn = value
}
/**
* @param value Mode of data quality validation. Default mode is "CHECK_ALL" which verifies all rules defined in the selected ruleset.
*/
@JvmName("ygrxwrvlttrctcuc")
public suspend fun validationMode(`value`: Output) {
this.validationMode = value
}
/**
* @param value Arn of the Ruleset
*/
@JvmName("qffyeuhduifxqdwx")
public suspend fun rulesetArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.rulesetArn = mapped
}
/**
* @param value Mode of data quality validation. Default mode is "CHECK_ALL" which verifies all rules defined in the selected ruleset.
*/
@JvmName("wxnygcjgpurbbdpg")
public suspend fun validationMode(`value`: JobValidationMode?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.validationMode = mapped
}
internal fun build(): JobValidationConfigurationArgs = JobValidationConfigurationArgs(
rulesetArn = rulesetArn ?: throw PulumiNullFieldException("rulesetArn"),
validationMode = validationMode,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy