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

com.pulumi.gcp.datastream.kotlin.inputs.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs.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.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.datastream.inputs.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs.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 datasetIdPrefix If supplied, every created dataset will have its name prefixed by the provided value.
 * The prefix and name will be separated by an underscore. i.e. _.
 * @property kmsKeyName Describes the Cloud KMS encryption key that will be used to protect destination BigQuery
 * table. The BigQuery Service Account associated with your project requires access to this
 * encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
 * See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.
 * - - -
 * @property location The geographic location where the dataset should reside.
 * See https://cloud.google.com/bigquery/docs/locations for supported locations.
 */
public data class
StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs(
    public val datasetIdPrefix: Output? = null,
    public val kmsKeyName: Output? = null,
    public val location: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs =
        com.pulumi.gcp.datastream.inputs.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs.builder()
            .datasetIdPrefix(datasetIdPrefix?.applyValue({ args0 -> args0 }))
            .kmsKeyName(kmsKeyName?.applyValue({ args0 -> args0 }))
            .location(location.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs].
 */
@PulumiTagMarker
public class
StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgsBuilder
internal constructor() {
    private var datasetIdPrefix: Output? = null

    private var kmsKeyName: Output? = null

    private var location: Output? = null

    /**
     * @param value If supplied, every created dataset will have its name prefixed by the provided value.
     * The prefix and name will be separated by an underscore. i.e. _.
     */
    @JvmName("vpegxuniahkvlpym")
    public suspend fun datasetIdPrefix(`value`: Output) {
        this.datasetIdPrefix = value
    }

    /**
     * @param value Describes the Cloud KMS encryption key that will be used to protect destination BigQuery
     * table. The BigQuery Service Account associated with your project requires access to this
     * encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
     * See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.
     * - - -
     */
    @JvmName("lpgswamnrelgiphb")
    public suspend fun kmsKeyName(`value`: Output) {
        this.kmsKeyName = value
    }

    /**
     * @param value The geographic location where the dataset should reside.
     * See https://cloud.google.com/bigquery/docs/locations for supported locations.
     */
    @JvmName("glvbamxtjsomokdi")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value If supplied, every created dataset will have its name prefixed by the provided value.
     * The prefix and name will be separated by an underscore. i.e. _.
     */
    @JvmName("txictpieqavkjmum")
    public suspend fun datasetIdPrefix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.datasetIdPrefix = mapped
    }

    /**
     * @param value Describes the Cloud KMS encryption key that will be used to protect destination BigQuery
     * table. The BigQuery Service Account associated with your project requires access to this
     * encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}.
     * See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.
     * - - -
     */
    @JvmName("wrebyccadqnvsrpe")
    public suspend fun kmsKeyName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyName = mapped
    }

    /**
     * @param value The geographic location where the dataset should reside.
     * See https://cloud.google.com/bigquery/docs/locations for supported locations.
     */
    @JvmName("njleoryqgbjghcyr")
    public suspend fun location(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.location = mapped
    }

    internal fun build(): StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs =
        StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs(
            datasetIdPrefix = datasetIdPrefix,
            kmsKeyName = kmsKeyName,
            location = location ?: throw PulumiNullFieldException("location"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy