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

com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelCardTrainingMetricArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.ModelCardTrainingMetricArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * training metric data.
 * @property name The name of the result from the SageMaker training job.
 * @property notes Any additional notes describing the result of the training job.
 * @property value The value of a result from the SageMaker training job.
 */
public data class ModelCardTrainingMetricArgs(
    public val name: Output,
    public val notes: Output? = null,
    public val `value`: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.ModelCardTrainingMetricArgs =
        com.pulumi.awsnative.sagemaker.inputs.ModelCardTrainingMetricArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .notes(notes?.applyValue({ args0 -> args0 }))
            .`value`(`value`.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ModelCardTrainingMetricArgs].
 */
@PulumiTagMarker
public class ModelCardTrainingMetricArgsBuilder internal constructor() {
    private var name: Output? = null

    private var notes: Output? = null

    private var `value`: Output? = null

    /**
     * @param value The name of the result from the SageMaker training job.
     */
    @JvmName("hcapnmbyeccytddo")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Any additional notes describing the result of the training job.
     */
    @JvmName("nqgynnncxcfgnrmn")
    public suspend fun notes(`value`: Output) {
        this.notes = value
    }

    /**
     * @param value The value of a result from the SageMaker training job.
     */
    @JvmName("lkexmqilsxvypgif")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value The name of the result from the SageMaker training job.
     */
    @JvmName("mlqvcbcrvacaagdl")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Any additional notes describing the result of the training job.
     */
    @JvmName("eykabaphykunqkxc")
    public suspend fun notes(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.notes = mapped
    }

    /**
     * @param value The value of a result from the SageMaker training job.
     */
    @JvmName("hcwqklitxgwgvnia")
    public suspend fun `value`(`value`: Double) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    internal fun build(): ModelCardTrainingMetricArgs = ModelCardTrainingMetricArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        notes = notes,
        `value` = `value` ?: throw PulumiNullFieldException("value"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy