com.pulumi.awsnative.personalize.kotlin.outputs.SolutionConfigAutoMlConfigProperties.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The AutoMLConfig object containing a list of recipes to search when AutoML is performed.
* @property metricName The metric to optimize.
* @property recipeList The list of candidate recipes.
*/
public data class SolutionConfigAutoMlConfigProperties(
public val metricName: String? = null,
public val recipeList: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.personalize.outputs.SolutionConfigAutoMlConfigProperties): SolutionConfigAutoMlConfigProperties = SolutionConfigAutoMlConfigProperties(
metricName = javaType.metricName().map({ args0 -> args0 }).orElse(null),
recipeList = javaType.recipeList().map({ args0 -> args0 }),
)
}
}