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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 * the objective function the model will optimize for.
 * @property function objective function that training job is optimized for.
 * @property notes Notes about the object function, including other considerations for possible objective functions.
 */
public data class ModelCardObjectiveFunction(
    public val function: ModelCardObjectiveFunctionFunctionProperties? = null,
    public val notes: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelCardObjectiveFunction): ModelCardObjectiveFunction = ModelCardObjectiveFunction(
            function = javaType.function().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelCardObjectiveFunctionFunctionProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            notes = javaType.notes().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy