com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelBiasJobDefinitionS3OutputArgs.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.ModelBiasJobDefinitionS3OutputArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelBiasJobDefinitionS3OutputS3UploadMode
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
/**
* Information about where and how to store the results of a monitoring job.
* @property localPath The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. LocalPath is an absolute path for the output data.
* @property s3UploadMode Whether to upload the results of the monitoring job continuously or after the job completes.
* @property s3Uri A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.
*/
public data class ModelBiasJobDefinitionS3OutputArgs(
public val localPath: Output,
public val s3UploadMode: Output? = null,
public val s3Uri: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.ModelBiasJobDefinitionS3OutputArgs =
com.pulumi.awsnative.sagemaker.inputs.ModelBiasJobDefinitionS3OutputArgs.builder()
.localPath(localPath.applyValue({ args0 -> args0 }))
.s3UploadMode(s3UploadMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.s3Uri(s3Uri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ModelBiasJobDefinitionS3OutputArgs].
*/
@PulumiTagMarker
public class ModelBiasJobDefinitionS3OutputArgsBuilder internal constructor() {
private var localPath: Output? = null
private var s3UploadMode: Output? = null
private var s3Uri: Output? = null
/**
* @param value The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. LocalPath is an absolute path for the output data.
*/
@JvmName("vuistlgubthydywx")
public suspend fun localPath(`value`: Output) {
this.localPath = value
}
/**
* @param value Whether to upload the results of the monitoring job continuously or after the job completes.
*/
@JvmName("iijadvhmughqdnvf")
public suspend fun s3UploadMode(`value`: Output) {
this.s3UploadMode = value
}
/**
* @param value A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.
*/
@JvmName("ujgfdxixwxpnipir")
public suspend fun s3Uri(`value`: Output) {
this.s3Uri = value
}
/**
* @param value The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. LocalPath is an absolute path for the output data.
*/
@JvmName("mhnoxhsqmqcqxteu")
public suspend fun localPath(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.localPath = mapped
}
/**
* @param value Whether to upload the results of the monitoring job continuously or after the job completes.
*/
@JvmName("vmetctuutkyjwtdk")
public suspend fun s3UploadMode(`value`: ModelBiasJobDefinitionS3OutputS3UploadMode?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3UploadMode = mapped
}
/**
* @param value A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.
*/
@JvmName("iwmmjghgphxbtqon")
public suspend fun s3Uri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.s3Uri = mapped
}
internal fun build(): ModelBiasJobDefinitionS3OutputArgs = ModelBiasJobDefinitionS3OutputArgs(
localPath = localPath ?: throw PulumiNullFieldException("localPath"),
s3UploadMode = s3UploadMode,
s3Uri = s3Uri ?: throw PulumiNullFieldException("s3Uri"),
)
}