All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.sagemaker.kotlin.inputs.DataQualityJobDefinitionDataQualityAppSpecificationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.DataQualityJobDefinitionDataQualityAppSpecificationArgs.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 kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Container image configuration object for the monitoring job.
 * @property containerArguments An array of arguments for the container used to run the monitoring job.
 * @property containerEntrypoint Specifies the entrypoint for a container used to run the monitoring job.
 * @property environment Sets the environment variables in the Docker container
 * @property imageUri The container image to be run by the monitoring job.
 * @property postAnalyticsProcessorSourceUri An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.
 * @property recordPreprocessorSourceUri An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers
 */
public data class DataQualityJobDefinitionDataQualityAppSpecificationArgs(
    public val containerArguments: Output>? = null,
    public val containerEntrypoint: Output>? = null,
    public val environment: Output? = null,
    public val imageUri: Output,
    public val postAnalyticsProcessorSourceUri: Output? = null,
    public val recordPreprocessorSourceUri: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.DataQualityJobDefinitionDataQualityAppSpecificationArgs =
        com.pulumi.awsnative.sagemaker.inputs.DataQualityJobDefinitionDataQualityAppSpecificationArgs.builder()
            .containerArguments(containerArguments?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .containerEntrypoint(containerEntrypoint?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .environment(environment?.applyValue({ args0 -> args0 }))
            .imageUri(imageUri.applyValue({ args0 -> args0 }))
            .postAnalyticsProcessorSourceUri(postAnalyticsProcessorSourceUri?.applyValue({ args0 -> args0 }))
            .recordPreprocessorSourceUri(recordPreprocessorSourceUri?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataQualityJobDefinitionDataQualityAppSpecificationArgs].
 */
@PulumiTagMarker
public class DataQualityJobDefinitionDataQualityAppSpecificationArgsBuilder internal constructor() {
    private var containerArguments: Output>? = null

    private var containerEntrypoint: Output>? = null

    private var environment: Output? = null

    private var imageUri: Output? = null

    private var postAnalyticsProcessorSourceUri: Output? = null

    private var recordPreprocessorSourceUri: Output? = null

    /**
     * @param value An array of arguments for the container used to run the monitoring job.
     */
    @JvmName("mxaxfbihssskqybw")
    public suspend fun containerArguments(`value`: Output>) {
        this.containerArguments = value
    }

    @JvmName("uxxancxesjgcgwim")
    public suspend fun containerArguments(vararg values: Output) {
        this.containerArguments = Output.all(values.asList())
    }

    /**
     * @param values An array of arguments for the container used to run the monitoring job.
     */
    @JvmName("qvarfxnwksjewlqb")
    public suspend fun containerArguments(values: List>) {
        this.containerArguments = Output.all(values)
    }

    /**
     * @param value Specifies the entrypoint for a container used to run the monitoring job.
     */
    @JvmName("fydvevtlhkhqphpi")
    public suspend fun containerEntrypoint(`value`: Output>) {
        this.containerEntrypoint = value
    }

    @JvmName("itoworniihfbcghe")
    public suspend fun containerEntrypoint(vararg values: Output) {
        this.containerEntrypoint = Output.all(values.asList())
    }

    /**
     * @param values Specifies the entrypoint for a container used to run the monitoring job.
     */
    @JvmName("mvilimluccctqrei")
    public suspend fun containerEntrypoint(values: List>) {
        this.containerEntrypoint = Output.all(values)
    }

    /**
     * @param value Sets the environment variables in the Docker container
     */
    @JvmName("xwevjidybnhjwnpu")
    public suspend fun environment(`value`: Output) {
        this.environment = value
    }

    /**
     * @param value The container image to be run by the monitoring job.
     */
    @JvmName("gbyuifmydikimrql")
    public suspend fun imageUri(`value`: Output) {
        this.imageUri = value
    }

    /**
     * @param value An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.
     */
    @JvmName("pbdlafdqfelgsjea")
    public suspend fun postAnalyticsProcessorSourceUri(`value`: Output) {
        this.postAnalyticsProcessorSourceUri = value
    }

    /**
     * @param value An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers
     */
    @JvmName("ukbliomnmnjusbsw")
    public suspend fun recordPreprocessorSourceUri(`value`: Output) {
        this.recordPreprocessorSourceUri = value
    }

    /**
     * @param value An array of arguments for the container used to run the monitoring job.
     */
    @JvmName("krlguahdyjiyyjey")
    public suspend fun containerArguments(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.containerArguments = mapped
    }

    /**
     * @param values An array of arguments for the container used to run the monitoring job.
     */
    @JvmName("mieujmtjltxxyxdu")
    public suspend fun containerArguments(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.containerArguments = mapped
    }

    /**
     * @param value Specifies the entrypoint for a container used to run the monitoring job.
     */
    @JvmName("hpljobvyuwjirflu")
    public suspend fun containerEntrypoint(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.containerEntrypoint = mapped
    }

    /**
     * @param values Specifies the entrypoint for a container used to run the monitoring job.
     */
    @JvmName("gnibsdmgklnxjimi")
    public suspend fun containerEntrypoint(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.containerEntrypoint = mapped
    }

    /**
     * @param value Sets the environment variables in the Docker container
     */
    @JvmName("bystsvgutkbpbuwe")
    public suspend fun environment(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.environment = mapped
    }

    /**
     * @param value The container image to be run by the monitoring job.
     */
    @JvmName("yowctbqboxqwioxm")
    public suspend fun imageUri(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.imageUri = mapped
    }

    /**
     * @param value An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.
     */
    @JvmName("tmhtoboofuqwoyas")
    public suspend fun postAnalyticsProcessorSourceUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.postAnalyticsProcessorSourceUri = mapped
    }

    /**
     * @param value An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers
     */
    @JvmName("kkfouwqtfotqrtbv")
    public suspend fun recordPreprocessorSourceUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.recordPreprocessorSourceUri = mapped
    }

    internal fun build(): DataQualityJobDefinitionDataQualityAppSpecificationArgs =
        DataQualityJobDefinitionDataQualityAppSpecificationArgs(
            containerArguments = containerArguments,
            containerEntrypoint = containerEntrypoint,
            environment = environment,
            imageUri = imageUri ?: throw PulumiNullFieldException("imageUri"),
            postAnalyticsProcessorSourceUri = postAnalyticsProcessorSourceUri,
            recordPreprocessorSourceUri = recordPreprocessorSourceUri,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy