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

com.pulumi.awsnative.personalize.kotlin.outputs.SolutionConfigHpoConfigPropertiesHpoResourceConfigProperties.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.personalize.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Describes the resource configuration for hyperparameter optimization (HPO).
 * @property maxNumberOfTrainingJobs The maximum number of training jobs when you create a solution version. The maximum value for maxNumberOfTrainingJobs is 40.
 * @property maxParallelTrainingJobs The maximum number of parallel training jobs when you create a solution version. The maximum value for maxParallelTrainingJobs is 10.
 */
public data class SolutionConfigHpoConfigPropertiesHpoResourceConfigProperties(
    public val maxNumberOfTrainingJobs: String? = null,
    public val maxParallelTrainingJobs: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.personalize.outputs.SolutionConfigHpoConfigPropertiesHpoResourceConfigProperties): SolutionConfigHpoConfigPropertiesHpoResourceConfigProperties =
            SolutionConfigHpoConfigPropertiesHpoResourceConfigProperties(
                maxNumberOfTrainingJobs = javaType.maxNumberOfTrainingJobs().map({ args0 -> args0 }).orElse(null),
                maxParallelTrainingJobs = javaType.maxParallelTrainingJobs().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy