All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.datastream.kotlin.outputs.StreamDestinationConfigBigqueryDestinationConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.datastream.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property dataFreshness The guaranteed data freshness (in seconds) when querying tables created by the stream.
 * Editing this field will only affect new tables created in the future, but existing tables
 * will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.
 * A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Defaults to 900s.
 * @property singleTargetDataset A single target dataset to which all data will be streamed.
 * Structure is documented below.
 * @property sourceHierarchyDatasets Destination datasets are created so that hierarchy of the destination data objects matches the source hierarchy.
 * Structure is documented below.
 */
public data class StreamDestinationConfigBigqueryDestinationConfig(
    public val dataFreshness: String? = null,
    public val singleTargetDataset: StreamDestinationConfigBigqueryDestinationConfigSingleTargetDataset? = null,
    public val sourceHierarchyDatasets: StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasets? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.datastream.outputs.StreamDestinationConfigBigqueryDestinationConfig): StreamDestinationConfigBigqueryDestinationConfig =
            StreamDestinationConfigBigqueryDestinationConfig(
                dataFreshness = javaType.dataFreshness().map({ args0 -> args0 }).orElse(null),
                singleTargetDataset = javaType.singleTargetDataset().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.datastream.kotlin.outputs.StreamDestinationConfigBigqueryDestinationConfigSingleTargetDataset.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                sourceHierarchyDatasets = javaType.sourceHierarchyDatasets().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.datastream.kotlin.outputs.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasets.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy