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

com.pulumi.azurenative.machinelearningservices.kotlin.inputs.CustomTargetLagsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.machinelearningservices.kotlin.inputs

import com.pulumi.azurenative.machinelearningservices.inputs.CustomTargetLagsArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property mode Target lags selection modes.
 * Expected value is 'Custom'.
 * @property values [Required] Set target lags values.
 */
public data class CustomTargetLagsArgs(
    public val mode: Output,
    public val values: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.CustomTargetLagsArgs = com.pulumi.azurenative.machinelearningservices.inputs.CustomTargetLagsArgs.builder()
        .mode(mode.applyValue({ args0 -> args0 }))
        .values(values.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [CustomTargetLagsArgs].
 */
@PulumiTagMarker
public class CustomTargetLagsArgsBuilder internal constructor() {
    private var mode: Output? = null

    private var values: Output>? = null

    /**
     * @param value Target lags selection modes.
     * Expected value is 'Custom'.
     */
    @JvmName("ymtihtmwlyejfyou")
    public suspend fun mode(`value`: Output) {
        this.mode = value
    }

    /**
     * @param value [Required] Set target lags values.
     */
    @JvmName("swmgfyodajgpnupu")
    public suspend fun values(`value`: Output>) {
        this.values = value
    }

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

    /**
     * @param values [Required] Set target lags values.
     */
    @JvmName("fgohnwjynvktwdgg")
    public suspend fun values(values: List>) {
        this.values = Output.all(values)
    }

    /**
     * @param value Target lags selection modes.
     * Expected value is 'Custom'.
     */
    @JvmName("fvrdcdqelslmgogr")
    public suspend fun mode(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.mode = mapped
    }

    /**
     * @param value [Required] Set target lags values.
     */
    @JvmName("bkpnumxupundlete")
    public suspend fun values(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.values = mapped
    }

    /**
     * @param values [Required] Set target lags values.
     */
    @JvmName("vyljwtllucfnywpq")
    public suspend fun values(vararg values: Int) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.values = mapped
    }

    internal fun build(): CustomTargetLagsArgs = CustomTargetLagsArgs(
        mode = mode ?: throw PulumiNullFieldException("mode"),
        values = values ?: throw PulumiNullFieldException("values"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy