![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.sagemaker.kotlin.inputs.MonitoringScheduleS3OutputArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.MonitoringScheduleS3OutputArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.MonitoringScheduleS3OutputS3UploadMode
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 MonitoringScheduleS3OutputArgs(
public val localPath: Output,
public val s3UploadMode: Output? = null,
public val s3Uri: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.MonitoringScheduleS3OutputArgs =
com.pulumi.awsnative.sagemaker.inputs.MonitoringScheduleS3OutputArgs.builder()
.localPath(localPath.applyValue({ args0 -> args0 }))
.s3UploadMode(s3UploadMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.s3Uri(s3Uri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MonitoringScheduleS3OutputArgs].
*/
@PulumiTagMarker
public class MonitoringScheduleS3OutputArgsBuilder 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("rcpqdegwmvdqkiuh")
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("nasfgrykycqftdqc")
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("seyqbmyulachvfxd")
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("fbuourmdnqpgdpka")
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("itavyykiooblitir")
public suspend fun s3UploadMode(`value`: MonitoringScheduleS3OutputS3UploadMode?) {
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("gxemhkpvqdxgvxpm")
public suspend fun s3Uri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.s3Uri = mapped
}
internal fun build(): MonitoringScheduleS3OutputArgs = MonitoringScheduleS3OutputArgs(
localPath = localPath ?: throw PulumiNullFieldException("localPath"),
s3UploadMode = s3UploadMode,
s3Uri = s3Uri ?: throw PulumiNullFieldException("s3Uri"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy