com.pulumi.googlenative.datastream.v1.kotlin.inputs.BigQueryDestinationConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.datastream.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.datastream.v1.inputs.BigQueryDestinationConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* BigQuery destination configuration
* @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.
* @property singleTargetDataset Single destination dataset.
* @property sourceHierarchyDatasets Source hierarchy datasets.
*/
public data class BigQueryDestinationConfigArgs(
public val dataFreshness: Output? = null,
public val singleTargetDataset: Output? = null,
public val sourceHierarchyDatasets: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.datastream.v1.inputs.BigQueryDestinationConfigArgs = com.pulumi.googlenative.datastream.v1.inputs.BigQueryDestinationConfigArgs.builder()
.dataFreshness(dataFreshness?.applyValue({ args0 -> args0 }))
.singleTargetDataset(
singleTargetDataset?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.sourceHierarchyDatasets(
sourceHierarchyDatasets?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [BigQueryDestinationConfigArgs].
*/
@PulumiTagMarker
public class BigQueryDestinationConfigArgsBuilder internal constructor() {
private var dataFreshness: Output? = null
private var singleTargetDataset: Output? = null
private var sourceHierarchyDatasets: Output? = null
/**
* @param value 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.
*/
@JvmName("bnvelhrraeiwjabk")
public suspend fun dataFreshness(`value`: Output) {
this.dataFreshness = value
}
/**
* @param value Single destination dataset.
*/
@JvmName("ircswiehbihjroje")
public suspend fun singleTargetDataset(`value`: Output) {
this.singleTargetDataset = value
}
/**
* @param value Source hierarchy datasets.
*/
@JvmName("rswqsdjkcnehnunu")
public suspend fun sourceHierarchyDatasets(`value`: Output) {
this.sourceHierarchyDatasets = value
}
/**
* @param value 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.
*/
@JvmName("cqvlfiphkprgdtot")
public suspend fun dataFreshness(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataFreshness = mapped
}
/**
* @param value Single destination dataset.
*/
@JvmName("otimncqedyxokdlp")
public suspend fun singleTargetDataset(`value`: SingleTargetDatasetArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.singleTargetDataset = mapped
}
/**
* @param argument Single destination dataset.
*/
@JvmName("dkpujvycakfcavvq")
public suspend fun singleTargetDataset(argument: suspend SingleTargetDatasetArgsBuilder.() -> Unit) {
val toBeMapped = SingleTargetDatasetArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.singleTargetDataset = mapped
}
/**
* @param value Source hierarchy datasets.
*/
@JvmName("nrlxsgrgsvikwobe")
public suspend fun sourceHierarchyDatasets(`value`: SourceHierarchyDatasetsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceHierarchyDatasets = mapped
}
/**
* @param argument Source hierarchy datasets.
*/
@JvmName("slnecirjpdexudqi")
public suspend fun sourceHierarchyDatasets(argument: suspend SourceHierarchyDatasetsArgsBuilder.() -> Unit) {
val toBeMapped = SourceHierarchyDatasetsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.sourceHierarchyDatasets = mapped
}
internal fun build(): BigQueryDestinationConfigArgs = BigQueryDestinationConfigArgs(
dataFreshness = dataFreshness,
singleTargetDataset = singleTargetDataset,
sourceHierarchyDatasets = sourceHierarchyDatasets,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy