
com.pulumi.awsnative.personalize.kotlin.inputs.SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.personalize.kotlin.inputs
import com.pulumi.awsnative.personalize.inputs.SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* 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 SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgs(
public val maxNumberOfTrainingJobs: Output? = null,
public val maxParallelTrainingJobs: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.personalize.inputs.SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgs =
com.pulumi.awsnative.personalize.inputs.SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgs.builder()
.maxNumberOfTrainingJobs(maxNumberOfTrainingJobs?.applyValue({ args0 -> args0 }))
.maxParallelTrainingJobs(maxParallelTrainingJobs?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgs].
*/
@PulumiTagMarker
public class SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgsBuilder internal constructor() {
private var maxNumberOfTrainingJobs: Output? = null
private var maxParallelTrainingJobs: Output? = null
/**
* @param value The maximum number of training jobs when you create a solution version. The maximum value for maxNumberOfTrainingJobs is 40.
*/
@JvmName("iushwgvgcahyqhfq")
public suspend fun maxNumberOfTrainingJobs(`value`: Output) {
this.maxNumberOfTrainingJobs = value
}
/**
* @param value The maximum number of parallel training jobs when you create a solution version. The maximum value for maxParallelTrainingJobs is 10.
*/
@JvmName("sqsjhdoxlpuqeqsk")
public suspend fun maxParallelTrainingJobs(`value`: Output) {
this.maxParallelTrainingJobs = value
}
/**
* @param value The maximum number of training jobs when you create a solution version. The maximum value for maxNumberOfTrainingJobs is 40.
*/
@JvmName("mxmdcmngknvjaitl")
public suspend fun maxNumberOfTrainingJobs(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxNumberOfTrainingJobs = mapped
}
/**
* @param value The maximum number of parallel training jobs when you create a solution version. The maximum value for maxParallelTrainingJobs is 10.
*/
@JvmName("qnbmpnecsfedqyno")
public suspend fun maxParallelTrainingJobs(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxParallelTrainingJobs = mapped
}
internal fun build(): SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgs =
SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgs(
maxNumberOfTrainingJobs = maxNumberOfTrainingJobs,
maxParallelTrainingJobs = maxParallelTrainingJobs,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy