com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionModelQualityJobInputArgs.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.ModelQualityJobDefinitionModelQualityJobInputArgs.builder
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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* The inputs for a monitoring job.
* @property batchTransformInput Input object for the batch transform job.
* @property endpointInput Input object for the endpoint
* @property groundTruthS3Input The ground truth label provided for the model.
*/
public data class ModelQualityJobDefinitionModelQualityJobInputArgs(
public val batchTransformInput: Output? = null,
public val endpointInput: Output? = null,
public val groundTruthS3Input: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.ModelQualityJobDefinitionModelQualityJobInputArgs =
com.pulumi.awsnative.sagemaker.inputs.ModelQualityJobDefinitionModelQualityJobInputArgs.builder()
.batchTransformInput(
batchTransformInput?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.endpointInput(endpointInput?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.groundTruthS3Input(
groundTruthS3Input.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ModelQualityJobDefinitionModelQualityJobInputArgs].
*/
@PulumiTagMarker
public class ModelQualityJobDefinitionModelQualityJobInputArgsBuilder internal constructor() {
private var batchTransformInput: Output? = null
private var endpointInput: Output? = null
private var groundTruthS3Input: Output? =
null
/**
* @param value Input object for the batch transform job.
*/
@JvmName("vkyfmluioxvuhofq")
public suspend fun batchTransformInput(`value`: Output) {
this.batchTransformInput = value
}
/**
* @param value Input object for the endpoint
*/
@JvmName("srwcjqeklsvtfahy")
public suspend fun endpointInput(`value`: Output) {
this.endpointInput = value
}
/**
* @param value The ground truth label provided for the model.
*/
@JvmName("sbxbfglhxcvywrxn")
public suspend fun groundTruthS3Input(`value`: Output) {
this.groundTruthS3Input = value
}
/**
* @param value Input object for the batch transform job.
*/
@JvmName("ayfwnsohfnagmekg")
public suspend fun batchTransformInput(`value`: ModelQualityJobDefinitionBatchTransformInputArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.batchTransformInput = mapped
}
/**
* @param argument Input object for the batch transform job.
*/
@JvmName("nkjynmkxouokhvae")
public suspend fun batchTransformInput(argument: suspend ModelQualityJobDefinitionBatchTransformInputArgsBuilder.() -> Unit) {
val toBeMapped = ModelQualityJobDefinitionBatchTransformInputArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.batchTransformInput = mapped
}
/**
* @param value Input object for the endpoint
*/
@JvmName("hfnlodgprfdefhbb")
public suspend fun endpointInput(`value`: ModelQualityJobDefinitionEndpointInputArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.endpointInput = mapped
}
/**
* @param argument Input object for the endpoint
*/
@JvmName("fafaatwgvamafouq")
public suspend fun endpointInput(argument: suspend ModelQualityJobDefinitionEndpointInputArgsBuilder.() -> Unit) {
val toBeMapped = ModelQualityJobDefinitionEndpointInputArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.endpointInput = mapped
}
/**
* @param value The ground truth label provided for the model.
*/
@JvmName("guiufhbmhpjyfqyx")
public suspend fun groundTruthS3Input(`value`: ModelQualityJobDefinitionMonitoringGroundTruthS3InputArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.groundTruthS3Input = mapped
}
/**
* @param argument The ground truth label provided for the model.
*/
@JvmName("mnoickdwcgpdwuiw")
public suspend fun groundTruthS3Input(argument: suspend ModelQualityJobDefinitionMonitoringGroundTruthS3InputArgsBuilder.() -> Unit) {
val toBeMapped =
ModelQualityJobDefinitionMonitoringGroundTruthS3InputArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.groundTruthS3Input = mapped
}
internal fun build(): ModelQualityJobDefinitionModelQualityJobInputArgs =
ModelQualityJobDefinitionModelQualityJobInputArgs(
batchTransformInput = batchTransformInput,
endpointInput = endpointInput,
groundTruthS3Input = groundTruthS3Input ?: throw PulumiNullFieldException("groundTruthS3Input"),
)
}