com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgs.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.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Baseline configuration used to validate that the data conforms to the specified constraints and statistics.
* @property baseliningJobName The name of the baseline model explainability job.
* @property constraintsResource The constraints resource for a model explainability job.
*/
public data class ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgs(
public val baseliningJobName: Output? = null,
public val constraintsResource: Output? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgs =
com.pulumi.awsnative.sagemaker.inputs.ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgs.builder()
.baseliningJobName(baseliningJobName?.applyValue({ args0 -> args0 }))
.constraintsResource(
constraintsResource?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgs].
*/
@PulumiTagMarker
public class ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgsBuilder internal constructor() {
private var baseliningJobName: Output? = null
private var constraintsResource: Output? =
null
/**
* @param value The name of the baseline model explainability job.
*/
@JvmName("gpgliqsislcayfcw")
public suspend fun baseliningJobName(`value`: Output) {
this.baseliningJobName = value
}
/**
* @param value The constraints resource for a model explainability job.
*/
@JvmName("rwbietphnsvaeuaj")
public suspend fun constraintsResource(`value`: Output) {
this.constraintsResource = value
}
/**
* @param value The name of the baseline model explainability job.
*/
@JvmName("pfelrxwhdnjutprm")
public suspend fun baseliningJobName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.baseliningJobName = mapped
}
/**
* @param value The constraints resource for a model explainability job.
*/
@JvmName("sripalslumvwkmar")
public suspend fun constraintsResource(`value`: ModelExplainabilityJobDefinitionConstraintsResourceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.constraintsResource = mapped
}
/**
* @param argument The constraints resource for a model explainability job.
*/
@JvmName("qrvnqnlgsusttkqf")
public suspend fun constraintsResource(argument: suspend ModelExplainabilityJobDefinitionConstraintsResourceArgsBuilder.() -> Unit) {
val toBeMapped = ModelExplainabilityJobDefinitionConstraintsResourceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.constraintsResource = mapped
}
internal fun build(): ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgs =
ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgs(
baseliningJobName = baseliningJobName,
constraintsResource = constraintsResource,
)
}