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

com.pulumi.awsnative.personalize.kotlin.inputs.SolutionContinuousHyperParameterRangeArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.personalize.kotlin.inputs

import com.pulumi.awsnative.personalize.inputs.SolutionContinuousHyperParameterRangeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Provides the name and range of a continuous hyperparameter.
 * @property maxValue The maximum allowable value for the hyperparameter.
 * @property minValue The minimum allowable value for the hyperparameter.
 * @property name The name of the hyperparameter.
 */
public data class SolutionContinuousHyperParameterRangeArgs(
    public val maxValue: Output? = null,
    public val minValue: Output? = null,
    public val name: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.personalize.inputs.SolutionContinuousHyperParameterRangeArgs =
        com.pulumi.awsnative.personalize.inputs.SolutionContinuousHyperParameterRangeArgs.builder()
            .maxValue(maxValue?.applyValue({ args0 -> args0 }))
            .minValue(minValue?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SolutionContinuousHyperParameterRangeArgs].
 */
@PulumiTagMarker
public class SolutionContinuousHyperParameterRangeArgsBuilder internal constructor() {
    private var maxValue: Output? = null

    private var minValue: Output? = null

    private var name: Output? = null

    /**
     * @param value The maximum allowable value for the hyperparameter.
     */
    @JvmName("jqnbcqxoyaiciqhv")
    public suspend fun maxValue(`value`: Output) {
        this.maxValue = value
    }

    /**
     * @param value The minimum allowable value for the hyperparameter.
     */
    @JvmName("kknxkrwlfevwnutt")
    public suspend fun minValue(`value`: Output) {
        this.minValue = value
    }

    /**
     * @param value The name of the hyperparameter.
     */
    @JvmName("kkclsghqsrartike")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The maximum allowable value for the hyperparameter.
     */
    @JvmName("nolpmkhglqxtddvr")
    public suspend fun maxValue(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxValue = mapped
    }

    /**
     * @param value The minimum allowable value for the hyperparameter.
     */
    @JvmName("afpqkymistqsndht")
    public suspend fun minValue(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minValue = mapped
    }

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

    internal fun build(): SolutionContinuousHyperParameterRangeArgs =
        SolutionContinuousHyperParameterRangeArgs(
            maxValue = maxValue,
            minValue = minValue,
            name = name,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy