
com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelPackageModelQuality.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.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