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

com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelCardMatrixMetricArgs.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.inputs

import com.pulumi.awsnative.sagemaker.inputs.ModelCardMatrixMetricArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelCardMatrixMetricType
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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property name
 * @property notes
 * @property type
 * @property value
 * @property xAxisName
 * @property yAxisName
 */
public data class ModelCardMatrixMetricArgs(
    public val name: Output,
    public val notes: Output? = null,
    public val type: Output,
    public val `value`: Output>>,
    public val xAxisName: Output>? = null,
    public val yAxisName: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.ModelCardMatrixMetricArgs =
        com.pulumi.awsnative.sagemaker.inputs.ModelCardMatrixMetricArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .notes(notes?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .`value`(`value`.applyValue({ args0 -> args0.map({ args0 -> args0.map({ args0 -> args0 }) }) }))
            .xAxisName(xAxisName?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .yAxisName(yAxisName?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var notes: Output? = null

    private var type: Output? = null

    private var `value`: Output>>? = null

    private var xAxisName: Output>? = null

    private var yAxisName: Output>? = null

    /**
     * @param value
     */
    @JvmName("pkjpvjxqdcdyuatl")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value
     */
    @JvmName("cfqcofxgulxmohcs")
    public suspend fun notes(`value`: Output) {
        this.notes = value
    }

    /**
     * @param value
     */
    @JvmName("vvxabixjwjljdjci")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value
     */
    @JvmName("rjkrctpjpbqycujw")
    public suspend fun `value`(`value`: Output>>) {
        this.`value` = value
    }

    @JvmName("fofgbbbehnroxske")
    public suspend fun `value`(vararg values: Output>) {
        this.`value` = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("jfhhrelftqkijkxv")
    public suspend fun `value`(values: List>>) {
        this.`value` = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("rxkwigogfebkquxg")
    public suspend fun xAxisName(`value`: Output>) {
        this.xAxisName = value
    }

    @JvmName("ytrxxtlwakebhnkg")
    public suspend fun xAxisName(vararg values: Output) {
        this.xAxisName = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("rjcxnqmdybwyyywb")
    public suspend fun xAxisName(values: List>) {
        this.xAxisName = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("dnigoecikivlvggx")
    public suspend fun yAxisName(`value`: Output>) {
        this.yAxisName = value
    }

    @JvmName("swiqqjnoffndnjmr")
    public suspend fun yAxisName(vararg values: Output) {
        this.yAxisName = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("hskxlpvaesdggaji")
    public suspend fun yAxisName(values: List>) {
        this.yAxisName = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("hgfmtyxrbxjhixkb")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value
     */
    @JvmName("lfajgnvleeivahia")
    public suspend fun notes(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.notes = mapped
    }

    /**
     * @param value
     */
    @JvmName("ptdoeylsguixkgra")
    public suspend fun type(`value`: ModelCardMatrixMetricType) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    /**
     * @param value
     */
    @JvmName("vcebetkfvvdkknfe")
    public suspend fun `value`(`value`: List>) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    /**
     * @param values
     */
    @JvmName("ctuvyafimbhwywfo")
    public suspend fun `value`(vararg values: List) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    /**
     * @param value
     */
    @JvmName("ggshennagenyrytv")
    public suspend fun xAxisName(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xAxisName = mapped
    }

    /**
     * @param values
     */
    @JvmName("mqknnwgluhsjlclw")
    public suspend fun xAxisName(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.xAxisName = mapped
    }

    /**
     * @param value
     */
    @JvmName("gvnkxehexcimcriq")
    public suspend fun yAxisName(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.yAxisName = mapped
    }

    /**
     * @param values
     */
    @JvmName("uuyuhfoxpliwvssy")
    public suspend fun yAxisName(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.yAxisName = mapped
    }

    internal fun build(): ModelCardMatrixMetricArgs = ModelCardMatrixMetricArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        notes = notes,
        type = type ?: throw PulumiNullFieldException("type"),
        `value` = `value` ?: throw PulumiNullFieldException("value"),
        xAxisName = xAxisName,
        yAxisName = yAxisName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy