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

com.pulumi.gcp.datastream.kotlin.inputs.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.datastream.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.datastream.inputs.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property datasetTemplate Dataset template used for dynamic dataset creation.
 * Structure is documented below.
 */
public data class StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs(
    public val datasetTemplate: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs =
        com.pulumi.gcp.datastream.inputs.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs.builder()
            .datasetTemplate(
                datasetTemplate.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs].
 */
@PulumiTagMarker
public class StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgsBuilder
internal constructor() {
    private var datasetTemplate:
        Output? =
        null

    /**
     * @param value Dataset template used for dynamic dataset creation.
     * Structure is documented below.
     */
    @JvmName("ofhxolmtcfexjkkp")
    public suspend fun datasetTemplate(`value`: Output) {
        this.datasetTemplate = value
    }

    /**
     * @param value Dataset template used for dynamic dataset creation.
     * Structure is documented below.
     */
    @JvmName("xarlbiqdgjhrprma")
    public suspend fun datasetTemplate(`value`: StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.datasetTemplate = mapped
    }

    /**
     * @param argument Dataset template used for dynamic dataset creation.
     * Structure is documented below.
     */
    @JvmName("wfgafbwqbwrkgaiu")
    public suspend fun datasetTemplate(argument: suspend StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgsBuilder.() -> Unit) {
        val toBeMapped =
            StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.datasetTemplate = mapped
    }

    internal fun build(): StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs = StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs(
        datasetTemplate = datasetTemplate ?: throw PulumiNullFieldException("datasetTemplate"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy