
com.pulumi.awsnative.sagemaker.kotlin.inputs.MonitoringScheduleBaselineConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.MonitoringScheduleBaselineConfigArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Baseline configuration used to validate that the data conforms to the specified constraints and statistics.
* @property constraintsResource The Amazon S3 URI for the constraints resource.
* @property statisticsResource The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.
*/
public data class MonitoringScheduleBaselineConfigArgs(
public val constraintsResource: Output? = null,
public val statisticsResource: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.MonitoringScheduleBaselineConfigArgs = com.pulumi.awsnative.sagemaker.inputs.MonitoringScheduleBaselineConfigArgs.builder()
.constraintsResource(
constraintsResource?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.statisticsResource(
statisticsResource?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [MonitoringScheduleBaselineConfigArgs].
*/
@PulumiTagMarker
public class MonitoringScheduleBaselineConfigArgsBuilder internal constructor() {
private var constraintsResource: Output? = null
private var statisticsResource: Output? = null
/**
* @param value The Amazon S3 URI for the constraints resource.
*/
@JvmName("oqtwipldajfjjyov")
public suspend fun constraintsResource(`value`: Output) {
this.constraintsResource = value
}
/**
* @param value The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.
*/
@JvmName("qqjdoqugmaoyokwo")
public suspend fun statisticsResource(`value`: Output) {
this.statisticsResource = value
}
/**
* @param value The Amazon S3 URI for the constraints resource.
*/
@JvmName("fbentvsgfipuarod")
public suspend fun constraintsResource(`value`: MonitoringScheduleConstraintsResourceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.constraintsResource = mapped
}
/**
* @param argument The Amazon S3 URI for the constraints resource.
*/
@JvmName("fygmdtltluquxlpj")
public suspend fun constraintsResource(argument: suspend MonitoringScheduleConstraintsResourceArgsBuilder.() -> Unit) {
val toBeMapped = MonitoringScheduleConstraintsResourceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.constraintsResource = mapped
}
/**
* @param value The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.
*/
@JvmName("vftvvwcokcnnjxoo")
public suspend fun statisticsResource(`value`: MonitoringScheduleStatisticsResourceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.statisticsResource = mapped
}
/**
* @param argument The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.
*/
@JvmName("lsejmijrsomseahk")
public suspend fun statisticsResource(argument: suspend MonitoringScheduleStatisticsResourceArgsBuilder.() -> Unit) {
val toBeMapped = MonitoringScheduleStatisticsResourceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.statisticsResource = mapped
}
internal fun build(): MonitoringScheduleBaselineConfigArgs = MonitoringScheduleBaselineConfigArgs(
constraintsResource = constraintsResource,
statisticsResource = statisticsResource,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy