
com.pulumi.awsnative.forecast.kotlin.outputs.GetDatasetResult.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.outputs
import com.pulumi.awsnative.forecast.kotlin.enums.DatasetDomain
import com.pulumi.awsnative.forecast.kotlin.enums.DatasetType
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) of the dataset.
* @property dataFrequency Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
* @property datasetType The dataset type
* @property domain The domain associated with the dataset
* @property encryptionConfig A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
* @property schema 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 tags An array of key-value pairs to apply to this resource.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
*/
public data class GetDatasetResult(
public val arn: String? = null,
public val dataFrequency: String? = null,
public val datasetType: DatasetType? = null,
public val domain: DatasetDomain? = null,
public val encryptionConfig: EncryptionConfigProperties? = null,
public val schema: SchemaProperties? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.forecast.outputs.GetDatasetResult): GetDatasetResult = GetDatasetResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
dataFrequency = javaType.dataFrequency().map({ args0 -> args0 }).orElse(null),
datasetType = javaType.datasetType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.forecast.kotlin.enums.DatasetType.Companion.toKotlin(args0)
})
}).orElse(null),
domain = javaType.domain().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.forecast.kotlin.enums.DatasetDomain.Companion.toKotlin(args0)
})
}).orElse(null),
encryptionConfig = javaType.encryptionConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.forecast.kotlin.outputs.EncryptionConfigProperties.Companion.toKotlin(args0)
})
}).orElse(null),
schema = javaType.schema().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.forecast.kotlin.outputs.SchemaProperties.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy