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

com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelCardObjectiveFunctionFunctionProperties.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 com.pulumi.awsnative.sagemaker.kotlin.enums.ModelCardObjectiveFunctionFunctionPropertiesFunction
import kotlin.String
import kotlin.Suppress

/**
 * objective function that training job is optimized for.
 * @property condition
 * @property facet
 * @property function
 */
public data class ModelCardObjectiveFunctionFunctionProperties(
    public val condition: String? = null,
    public val facet: String? = null,
    public val function: ModelCardObjectiveFunctionFunctionPropertiesFunction? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelCardObjectiveFunctionFunctionProperties): ModelCardObjectiveFunctionFunctionProperties = ModelCardObjectiveFunctionFunctionProperties(
            condition = javaType.condition().map({ args0 -> args0 }).orElse(null),
            facet = javaType.facet().map({ args0 -> args0 }).orElse(null),
            function = javaType.function().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.enums.ModelCardObjectiveFunctionFunctionPropertiesFunction.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy