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

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

/**
 *
 * @property oracleColumns Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
 * Structure is documented below.
 * @property table Table name.
 */
public data class StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableArgs(
    public val oracleColumns: Output>? =
        null,
    public val table: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableArgs =
        com.pulumi.gcp.datastream.inputs.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableArgs.builder()
            .oracleColumns(
                oracleColumns?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .table(table.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableArgs].
 */
@PulumiTagMarker
public class StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableArgsBuilder
internal constructor() {
    private var oracleColumns:
        Output>? =
        null

    private var table: Output? = null

    /**
     * @param value Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
     * Structure is documented below.
     */
    @JvmName("psfauwiuucocnedm")
    public suspend fun oracleColumns(`value`: Output>) {
        this.oracleColumns = value
    }

    @JvmName("sngkatcwxokswuly")
    public suspend fun oracleColumns(vararg values: Output) {
        this.oracleColumns = Output.all(values.asList())
    }

    /**
     * @param values Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
     * Structure is documented below.
     */
    @JvmName("tufmbihoyoljweej")
    public suspend fun oracleColumns(values: List>) {
        this.oracleColumns = Output.all(values)
    }

    /**
     * @param value Table name.
     */
    @JvmName("wyegkywntqgvuqqp")
    public suspend fun table(`value`: Output) {
        this.table = value
    }

    /**
     * @param value Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
     * Structure is documented below.
     */
    @JvmName("abudireuqwgmybmy")
    public suspend fun oracleColumns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.oracleColumns = mapped
    }

    /**
     * @param argument Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
     * Structure is documented below.
     */
    @JvmName("cljsgmqvsyixyjcp")
    public suspend fun oracleColumns(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.oracleColumns = mapped
    }

    /**
     * @param argument Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
     * Structure is documented below.
     */
    @JvmName("gudvbaeblbjlugeo")
    public suspend fun oracleColumns(vararg argument: suspend StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.oracleColumns = mapped
    }

    /**
     * @param argument Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
     * Structure is documented below.
     */
    @JvmName("lkdackmndhqyunfe")
    public suspend fun oracleColumns(argument: suspend StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.oracleColumns = mapped
    }

    /**
     * @param values Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
     * Structure is documented below.
     */
    @JvmName("fjkjawyfvpqdrghi")
    public suspend fun oracleColumns(vararg values: StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.oracleColumns = mapped
    }

    /**
     * @param value Table name.
     */
    @JvmName("rtautlvatxfmdvuy")
    public suspend fun table(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.table = mapped
    }

    internal fun build(): StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableArgs =
        StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableArgs(
            oracleColumns = oracleColumns,
            table = table ?: throw PulumiNullFieldException("table"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy