com.pulumi.awsnative.cleanroomsml.kotlin.outputs.TrainingDatasetDataset.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.cleanroomsml.kotlin.outputs
import com.pulumi.awsnative.cleanroomsml.kotlin.enums.TrainingDatasetDatasetType
import kotlin.Suppress
/**
*
* @property inputConfig A DatasetInputConfig object that defines the data source and schema mapping.
* @property type What type of information is found in the dataset.
*/
public data class TrainingDatasetDataset(
public val inputConfig: TrainingDatasetDatasetInputConfig,
public val type: TrainingDatasetDatasetType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cleanroomsml.outputs.TrainingDatasetDataset): TrainingDatasetDataset = TrainingDatasetDataset(
inputConfig = javaType.inputConfig().let({ args0 ->
com.pulumi.awsnative.cleanroomsml.kotlin.outputs.TrainingDatasetDatasetInputConfig.Companion.toKotlin(args0)
}),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.cleanroomsml.kotlin.enums.TrainingDatasetDatasetType.Companion.toKotlin(args0)
}),
)
}
}