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

com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelQualityJobDefinitionModelQualityAppSpecification.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.sagemaker.kotlin.outputs

import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelQualityJobDefinitionProblemType
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * 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 problemType The machine learning problem type of the model that the monitoring job monitors.
 * @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 ModelQualityJobDefinitionModelQualityAppSpecification(
    public val containerArguments: List? = null,
    public val containerEntrypoint: List? = null,
    public val environment: Any? = null,
    public val imageUri: String,
    public val postAnalyticsProcessorSourceUri: String? = null,
    public val problemType: ModelQualityJobDefinitionProblemType,
    public val recordPreprocessorSourceUri: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelQualityJobDefinitionModelQualityAppSpecification): ModelQualityJobDefinitionModelQualityAppSpecification =
            ModelQualityJobDefinitionModelQualityAppSpecification(
                containerArguments = javaType.containerArguments().map({ args0 -> args0 }),
                containerEntrypoint = javaType.containerEntrypoint().map({ args0 -> args0 }),
                environment = javaType.environment().map({ args0 -> args0 }).orElse(null),
                imageUri = javaType.imageUri(),
                postAnalyticsProcessorSourceUri = javaType.postAnalyticsProcessorSourceUri().map({ args0 ->
                    args0
                }).orElse(null),
                problemType = javaType.problemType().let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.enums.ModelQualityJobDefinitionProblemType.Companion.toKotlin(args0)
                }),
                recordPreprocessorSourceUri = javaType.recordPreprocessorSourceUri().map({ args0 ->
                    args0
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy