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

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

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

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

import com.pulumi.azurenative.machinelearningservices.inputs.TableVerticalLimitSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Job execution constraints.
 * @property enableEarlyTermination Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.
 * @property exitScore Exit score for the AutoML job.
 * @property maxConcurrentTrials Maximum Concurrent iterations.
 * @property maxCoresPerTrial Max cores per iteration.
 * @property maxTrials Number of iterations.
 * @property timeout AutoML job timeout.
 * @property trialTimeout Iteration timeout.
 */
public data class TableVerticalLimitSettingsArgs(
    public val enableEarlyTermination: Output? = null,
    public val exitScore: Output? = null,
    public val maxConcurrentTrials: Output? = null,
    public val maxCoresPerTrial: Output? = null,
    public val maxTrials: Output? = null,
    public val timeout: Output? = null,
    public val trialTimeout: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.TableVerticalLimitSettingsArgs =
        com.pulumi.azurenative.machinelearningservices.inputs.TableVerticalLimitSettingsArgs.builder()
            .enableEarlyTermination(enableEarlyTermination?.applyValue({ args0 -> args0 }))
            .exitScore(exitScore?.applyValue({ args0 -> args0 }))
            .maxConcurrentTrials(maxConcurrentTrials?.applyValue({ args0 -> args0 }))
            .maxCoresPerTrial(maxCoresPerTrial?.applyValue({ args0 -> args0 }))
            .maxTrials(maxTrials?.applyValue({ args0 -> args0 }))
            .timeout(timeout?.applyValue({ args0 -> args0 }))
            .trialTimeout(trialTimeout?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TableVerticalLimitSettingsArgs].
 */
@PulumiTagMarker
public class TableVerticalLimitSettingsArgsBuilder internal constructor() {
    private var enableEarlyTermination: Output? = null

    private var exitScore: Output? = null

    private var maxConcurrentTrials: Output? = null

    private var maxCoresPerTrial: Output? = null

    private var maxTrials: Output? = null

    private var timeout: Output? = null

    private var trialTimeout: Output? = null

    /**
     * @param value Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.
     */
    @JvmName("spmijhombcwfxqyx")
    public suspend fun enableEarlyTermination(`value`: Output) {
        this.enableEarlyTermination = value
    }

    /**
     * @param value Exit score for the AutoML job.
     */
    @JvmName("rbtoivuuncgwpcwe")
    public suspend fun exitScore(`value`: Output) {
        this.exitScore = value
    }

    /**
     * @param value Maximum Concurrent iterations.
     */
    @JvmName("spxjyyktslbuamls")
    public suspend fun maxConcurrentTrials(`value`: Output) {
        this.maxConcurrentTrials = value
    }

    /**
     * @param value Max cores per iteration.
     */
    @JvmName("mvjcatwhlmqqqifr")
    public suspend fun maxCoresPerTrial(`value`: Output) {
        this.maxCoresPerTrial = value
    }

    /**
     * @param value Number of iterations.
     */
    @JvmName("nhixepblaqpiutby")
    public suspend fun maxTrials(`value`: Output) {
        this.maxTrials = value
    }

    /**
     * @param value AutoML job timeout.
     */
    @JvmName("qocrejstefgubbpx")
    public suspend fun timeout(`value`: Output) {
        this.timeout = value
    }

    /**
     * @param value Iteration timeout.
     */
    @JvmName("hmdauhlehtkkxiao")
    public suspend fun trialTimeout(`value`: Output) {
        this.trialTimeout = value
    }

    /**
     * @param value Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.
     */
    @JvmName("mupmuxkomfjegwya")
    public suspend fun enableEarlyTermination(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableEarlyTermination = mapped
    }

    /**
     * @param value Exit score for the AutoML job.
     */
    @JvmName("vkweinroifebiljf")
    public suspend fun exitScore(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exitScore = mapped
    }

    /**
     * @param value Maximum Concurrent iterations.
     */
    @JvmName("fkucehfayotholgw")
    public suspend fun maxConcurrentTrials(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxConcurrentTrials = mapped
    }

    /**
     * @param value Max cores per iteration.
     */
    @JvmName("dmfhgyscreyrpnna")
    public suspend fun maxCoresPerTrial(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxCoresPerTrial = mapped
    }

    /**
     * @param value Number of iterations.
     */
    @JvmName("fealfghotovkvhae")
    public suspend fun maxTrials(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxTrials = mapped
    }

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

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

    internal fun build(): TableVerticalLimitSettingsArgs = TableVerticalLimitSettingsArgs(
        enableEarlyTermination = enableEarlyTermination,
        exitScore = exitScore,
        maxConcurrentTrials = maxConcurrentTrials,
        maxCoresPerTrial = maxCoresPerTrial,
        maxTrials = maxTrials,
        timeout = timeout,
        trialTimeout = trialTimeout,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy