
com.pulumi.awsnative.forecast.kotlin.inputs.SchemaPropertiesArgs.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.forecast.kotlin.inputs
import com.pulumi.awsnative.forecast.inputs.SchemaPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The schema for the dataset. The schema attributes and their order must match the fields in your data. The dataset `Domain` and `DatasetType` that you choose determine the minimum required fields in your training data. For information about the required fields for a specific dataset domain and type, see [Dataset Domains and Dataset Types](https://docs.aws.amazon.com/forecast/latest/dg/howitworks-domains-ds-types.html) .
* @property attributes An array of attributes specifying the name and type of each field in a dataset.
*/
public data class SchemaPropertiesArgs(
public val attributes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.forecast.inputs.SchemaPropertiesArgs =
com.pulumi.awsnative.forecast.inputs.SchemaPropertiesArgs.builder()
.attributes(
attributes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [SchemaPropertiesArgs].
*/
@PulumiTagMarker
public class SchemaPropertiesArgsBuilder internal constructor() {
private var attributes: Output>? = null
/**
* @param value An array of attributes specifying the name and type of each field in a dataset.
*/
@JvmName("kpkvwjrncqaarjmh")
public suspend fun attributes(`value`: Output>) {
this.attributes = value
}
@JvmName("lfpjgthqlyvyaivc")
public suspend fun attributes(vararg values: Output) {
this.attributes = Output.all(values.asList())
}
/**
* @param values An array of attributes specifying the name and type of each field in a dataset.
*/
@JvmName("dgcqvgjkkwxkjlvh")
public suspend fun attributes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy