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

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

package com.pulumi.gcp.bigqueryanalyticshub.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigqueryanalyticshub.inputs.DataExchangeSharingEnvironmentConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property dcrExchangeConfig Data Clean Room (DCR), used for privacy-safe and secured data sharing.
 * @property defaultExchangeConfig Default Analytics Hub data exchange, used for secured data sharing.
 */
public data class DataExchangeSharingEnvironmentConfigArgs(
    public val dcrExchangeConfig: Output? =
        null,
    public val defaultExchangeConfig: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.bigqueryanalyticshub.inputs.DataExchangeSharingEnvironmentConfigArgs =
        com.pulumi.gcp.bigqueryanalyticshub.inputs.DataExchangeSharingEnvironmentConfigArgs.builder()
            .dcrExchangeConfig(dcrExchangeConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .defaultExchangeConfig(
                defaultExchangeConfig?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [DataExchangeSharingEnvironmentConfigArgs].
 */
@PulumiTagMarker
public class DataExchangeSharingEnvironmentConfigArgsBuilder internal constructor() {
    private var dcrExchangeConfig: Output? =
        null

    private var defaultExchangeConfig:
        Output? = null

    /**
     * @param value Data Clean Room (DCR), used for privacy-safe and secured data sharing.
     */
    @JvmName("mlioytmgctclcmwr")
    public suspend fun dcrExchangeConfig(`value`: Output) {
        this.dcrExchangeConfig = value
    }

    /**
     * @param value Default Analytics Hub data exchange, used for secured data sharing.
     */
    @JvmName("ttjnlkbkywioqieu")
    public suspend fun defaultExchangeConfig(`value`: Output) {
        this.defaultExchangeConfig = value
    }

    /**
     * @param value Data Clean Room (DCR), used for privacy-safe and secured data sharing.
     */
    @JvmName("bdkxmrusbuhpntlf")
    public suspend fun dcrExchangeConfig(`value`: DataExchangeSharingEnvironmentConfigDcrExchangeConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dcrExchangeConfig = mapped
    }

    /**
     * @param argument Data Clean Room (DCR), used for privacy-safe and secured data sharing.
     */
    @JvmName("cafayaonkrafgkqw")
    public suspend fun dcrExchangeConfig(argument: suspend DataExchangeSharingEnvironmentConfigDcrExchangeConfigArgsBuilder.() -> Unit) {
        val toBeMapped =
            DataExchangeSharingEnvironmentConfigDcrExchangeConfigArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.dcrExchangeConfig = mapped
    }

    /**
     * @param value Default Analytics Hub data exchange, used for secured data sharing.
     */
    @JvmName("ilxwmkrysjarhpti")
    public suspend fun defaultExchangeConfig(`value`: DataExchangeSharingEnvironmentConfigDefaultExchangeConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultExchangeConfig = mapped
    }

    /**
     * @param argument Default Analytics Hub data exchange, used for secured data sharing.
     */
    @JvmName("axbbptrwrfhihlrp")
    public suspend fun defaultExchangeConfig(argument: suspend DataExchangeSharingEnvironmentConfigDefaultExchangeConfigArgsBuilder.() -> Unit) {
        val toBeMapped =
            DataExchangeSharingEnvironmentConfigDefaultExchangeConfigArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.defaultExchangeConfig = mapped
    }

    internal fun build(): DataExchangeSharingEnvironmentConfigArgs =
        DataExchangeSharingEnvironmentConfigArgs(
            dcrExchangeConfig = dcrExchangeConfig,
            defaultExchangeConfig = defaultExchangeConfig,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy