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

com.pulumi.gcp.datastream.kotlin.inputs.StreamDestinationConfigBigqueryDestinationConfigSingleTargetDatasetArgs.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.StreamDestinationConfigBigqueryDestinationConfigSingleTargetDatasetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property datasetId Dataset ID in the format projects/{project}/datasets/{dataset_id} or
 * {project}:{dataset_id}
 */
public data class StreamDestinationConfigBigqueryDestinationConfigSingleTargetDatasetArgs(
    public val datasetId: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamDestinationConfigBigqueryDestinationConfigSingleTargetDatasetArgs =
        com.pulumi.gcp.datastream.inputs.StreamDestinationConfigBigqueryDestinationConfigSingleTargetDatasetArgs.builder()
            .datasetId(datasetId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StreamDestinationConfigBigqueryDestinationConfigSingleTargetDatasetArgs].
 */
@PulumiTagMarker
public class StreamDestinationConfigBigqueryDestinationConfigSingleTargetDatasetArgsBuilder internal constructor() {
    private var datasetId: Output? = null

    /**
     * @param value Dataset ID in the format projects/{project}/datasets/{dataset_id} or
     * {project}:{dataset_id}
     */
    @JvmName("rhhlauglnfhntuno")
    public suspend fun datasetId(`value`: Output) {
        this.datasetId = value
    }

    /**
     * @param value Dataset ID in the format projects/{project}/datasets/{dataset_id} or
     * {project}:{dataset_id}
     */
    @JvmName("bqnpflmfdqbrltrb")
    public suspend fun datasetId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.datasetId = mapped
    }

    internal fun build(): StreamDestinationConfigBigqueryDestinationConfigSingleTargetDatasetArgs =
        StreamDestinationConfigBigqueryDestinationConfigSingleTargetDatasetArgs(
            datasetId = datasetId ?: throw PulumiNullFieldException("datasetId"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy