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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Suppress

/**
 * Metrics that measure the quality of a model.
 * @property constraints Model quality constraints.
 * @property statistics Model quality statistics.
 */
public data class ModelPackageModelQuality(
    public val constraints: ModelPackageMetricsSource? = null,
    public val statistics: ModelPackageMetricsSource? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelPackageModelQuality): ModelPackageModelQuality = ModelPackageModelQuality(
            constraints = javaType.constraints().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelPackageMetricsSource.Companion.toKotlin(args0)
                })
            }).orElse(null),
            statistics = javaType.statistics().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelPackageMetricsSource.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy