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

com.pulumi.awsnative.personalize.kotlin.outputs.SolutionConfigHpoConfigProperties.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.personalize.kotlin.outputs

import kotlin.Suppress

/**
 * Describes the properties for hyperparameter optimization (HPO)
 * @property algorithmHyperParameterRanges The hyperparameters and their allowable ranges
 * @property hpoObjective The metric to optimize during HPO.
 * @property hpoResourceConfig Describes the resource configuration for hyperparameter optimization (HPO).
 */
public data class SolutionConfigHpoConfigProperties(
    public val algorithmHyperParameterRanges: SolutionConfigHpoConfigPropertiesAlgorithmHyperParameterRangesProperties? = null,
    public val hpoObjective: SolutionConfigHpoConfigPropertiesHpoObjectiveProperties? = null,
    public val hpoResourceConfig: SolutionConfigHpoConfigPropertiesHpoResourceConfigProperties? =
        null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.personalize.outputs.SolutionConfigHpoConfigProperties): SolutionConfigHpoConfigProperties = SolutionConfigHpoConfigProperties(
            algorithmHyperParameterRanges = javaType.algorithmHyperParameterRanges().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.personalize.kotlin.outputs.SolutionConfigHpoConfigPropertiesAlgorithmHyperParameterRangesProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            hpoObjective = javaType.hpoObjective().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.personalize.kotlin.outputs.SolutionConfigHpoConfigPropertiesHpoObjectiveProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            hpoResourceConfig = javaType.hpoResourceConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.personalize.kotlin.outputs.SolutionConfigHpoConfigPropertiesHpoResourceConfigProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy