
com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelBiasJobDefinitionBatchTransformInputArgs.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.ModelBiasJobDefinitionBatchTransformInputArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelBiasJobDefinitionBatchTransformInputS3DataDistributionType
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelBiasJobDefinitionBatchTransformInputS3InputMode
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.Double
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* The batch transform input for a monitoring job.
* @property dataCapturedDestinationS3Uri A URI that identifies the Amazon S3 storage location where Batch Transform Job captures data.
* @property datasetFormat The dataset format for your batch transform job.
* @property endTimeOffset Monitoring end time offset, e.g. PT0H
* @property featuresAttribute JSONpath to locate features in JSONlines dataset
* @property inferenceAttribute Index or JSONpath to locate predicted label(s)
* @property localPath Path to the filesystem where the endpoint data is available to the container.
* @property probabilityAttribute Index or JSONpath to locate probabilities
* @property probabilityThresholdAttribute The threshold for the class probability to be evaluated as a positive result.
* @property s3DataDistributionType Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated
* @property s3InputMode Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.
* @property startTimeOffset Monitoring start time offset, e.g. -PT1H
*/
public data class ModelBiasJobDefinitionBatchTransformInputArgs(
public val dataCapturedDestinationS3Uri: Output,
public val datasetFormat: Output,
public val endTimeOffset: Output? = null,
public val featuresAttribute: Output? = null,
public val inferenceAttribute: Output? = null,
public val localPath: Output,
public val probabilityAttribute: Output? = null,
public val probabilityThresholdAttribute: Output? = null,
public val s3DataDistributionType: Output? = null,
public val s3InputMode: Output? = null,
public val startTimeOffset: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.ModelBiasJobDefinitionBatchTransformInputArgs =
com.pulumi.awsnative.sagemaker.inputs.ModelBiasJobDefinitionBatchTransformInputArgs.builder()
.dataCapturedDestinationS3Uri(dataCapturedDestinationS3Uri.applyValue({ args0 -> args0 }))
.datasetFormat(datasetFormat.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.endTimeOffset(endTimeOffset?.applyValue({ args0 -> args0 }))
.featuresAttribute(featuresAttribute?.applyValue({ args0 -> args0 }))
.inferenceAttribute(inferenceAttribute?.applyValue({ args0 -> args0 }))
.localPath(localPath.applyValue({ args0 -> args0 }))
.probabilityAttribute(probabilityAttribute?.applyValue({ args0 -> args0 }))
.probabilityThresholdAttribute(probabilityThresholdAttribute?.applyValue({ args0 -> args0 }))
.s3DataDistributionType(
s3DataDistributionType?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.s3InputMode(s3InputMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.startTimeOffset(startTimeOffset?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ModelBiasJobDefinitionBatchTransformInputArgs].
*/
@PulumiTagMarker
public class ModelBiasJobDefinitionBatchTransformInputArgsBuilder internal constructor() {
private var dataCapturedDestinationS3Uri: Output? = null
private var datasetFormat: Output? = null
private var endTimeOffset: Output? = null
private var featuresAttribute: Output? = null
private var inferenceAttribute: Output? = null
private var localPath: Output? = null
private var probabilityAttribute: Output? = null
private var probabilityThresholdAttribute: Output? = null
private var s3DataDistributionType:
Output? = null
private var s3InputMode: Output? = null
private var startTimeOffset: Output? = null
/**
* @param value A URI that identifies the Amazon S3 storage location where Batch Transform Job captures data.
*/
@JvmName("jfnkupiskgwemtuq")
public suspend fun dataCapturedDestinationS3Uri(`value`: Output) {
this.dataCapturedDestinationS3Uri = value
}
/**
* @param value The dataset format for your batch transform job.
*/
@JvmName("duxsnrtedayjwurq")
public suspend fun datasetFormat(`value`: Output) {
this.datasetFormat = value
}
/**
* @param value Monitoring end time offset, e.g. PT0H
*/
@JvmName("gmsycmyqjkviddaa")
public suspend fun endTimeOffset(`value`: Output) {
this.endTimeOffset = value
}
/**
* @param value JSONpath to locate features in JSONlines dataset
*/
@JvmName("aldqkslrbrxuovdj")
public suspend fun featuresAttribute(`value`: Output) {
this.featuresAttribute = value
}
/**
* @param value Index or JSONpath to locate predicted label(s)
*/
@JvmName("gwvmodkvilrfpvmn")
public suspend fun inferenceAttribute(`value`: Output) {
this.inferenceAttribute = value
}
/**
* @param value Path to the filesystem where the endpoint data is available to the container.
*/
@JvmName("fcdwytqalumxyngq")
public suspend fun localPath(`value`: Output) {
this.localPath = value
}
/**
* @param value Index or JSONpath to locate probabilities
*/
@JvmName("aifpmjnbubfopgji")
public suspend fun probabilityAttribute(`value`: Output) {
this.probabilityAttribute = value
}
/**
* @param value The threshold for the class probability to be evaluated as a positive result.
*/
@JvmName("nsbbuyekebsirnaf")
public suspend fun probabilityThresholdAttribute(`value`: Output) {
this.probabilityThresholdAttribute = value
}
/**
* @param value Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated
*/
@JvmName("xuuuhwmrbhgusqtr")
public suspend fun s3DataDistributionType(`value`: Output) {
this.s3DataDistributionType = value
}
/**
* @param value Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.
*/
@JvmName("xptmennltxcyxlyk")
public suspend fun s3InputMode(`value`: Output) {
this.s3InputMode = value
}
/**
* @param value Monitoring start time offset, e.g. -PT1H
*/
@JvmName("mowqvnmwbdefkfmc")
public suspend fun startTimeOffset(`value`: Output) {
this.startTimeOffset = value
}
/**
* @param value A URI that identifies the Amazon S3 storage location where Batch Transform Job captures data.
*/
@JvmName("gdtepenwevuwmshj")
public suspend fun dataCapturedDestinationS3Uri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.dataCapturedDestinationS3Uri = mapped
}
/**
* @param value The dataset format for your batch transform job.
*/
@JvmName("oakcfunxxanbwxmc")
public suspend fun datasetFormat(`value`: ModelBiasJobDefinitionDatasetFormatArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.datasetFormat = mapped
}
/**
* @param argument The dataset format for your batch transform job.
*/
@JvmName("sbqkhtpsyeseggxs")
public suspend fun datasetFormat(argument: suspend ModelBiasJobDefinitionDatasetFormatArgsBuilder.() -> Unit) {
val toBeMapped = ModelBiasJobDefinitionDatasetFormatArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.datasetFormat = mapped
}
/**
* @param value Monitoring end time offset, e.g. PT0H
*/
@JvmName("avjspgcwkytuhqae")
public suspend fun endTimeOffset(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.endTimeOffset = mapped
}
/**
* @param value JSONpath to locate features in JSONlines dataset
*/
@JvmName("ktyqcqunnhyxfalq")
public suspend fun featuresAttribute(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.featuresAttribute = mapped
}
/**
* @param value Index or JSONpath to locate predicted label(s)
*/
@JvmName("odbopauytypqqmdx")
public suspend fun inferenceAttribute(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.inferenceAttribute = mapped
}
/**
* @param value Path to the filesystem where the endpoint data is available to the container.
*/
@JvmName("exikvsgqejhlnfsv")
public suspend fun localPath(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.localPath = mapped
}
/**
* @param value Index or JSONpath to locate probabilities
*/
@JvmName("eubsltsxhsgjvcco")
public suspend fun probabilityAttribute(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.probabilityAttribute = mapped
}
/**
* @param value The threshold for the class probability to be evaluated as a positive result.
*/
@JvmName("paoqiojcxbcjwmim")
public suspend fun probabilityThresholdAttribute(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.probabilityThresholdAttribute = mapped
}
/**
* @param value Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated
*/
@JvmName("xhvgdfattemnjnbh")
public suspend fun s3DataDistributionType(`value`: ModelBiasJobDefinitionBatchTransformInputS3DataDistributionType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3DataDistributionType = mapped
}
/**
* @param value Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.
*/
@JvmName("siqpsgyenxwjxnts")
public suspend fun s3InputMode(`value`: ModelBiasJobDefinitionBatchTransformInputS3InputMode?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3InputMode = mapped
}
/**
* @param value Monitoring start time offset, e.g. -PT1H
*/
@JvmName("tedqatnentivnepf")
public suspend fun startTimeOffset(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startTimeOffset = mapped
}
internal fun build(): ModelBiasJobDefinitionBatchTransformInputArgs =
ModelBiasJobDefinitionBatchTransformInputArgs(
dataCapturedDestinationS3Uri = dataCapturedDestinationS3Uri ?: throw
PulumiNullFieldException("dataCapturedDestinationS3Uri"),
datasetFormat = datasetFormat ?: throw PulumiNullFieldException("datasetFormat"),
endTimeOffset = endTimeOffset,
featuresAttribute = featuresAttribute,
inferenceAttribute = inferenceAttribute,
localPath = localPath ?: throw PulumiNullFieldException("localPath"),
probabilityAttribute = probabilityAttribute,
probabilityThresholdAttribute = probabilityThresholdAttribute,
s3DataDistributionType = s3DataDistributionType,
s3InputMode = s3InputMode,
startTimeOffset = startTimeOffset,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy