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

com.pulumi.gcp.datastream.kotlin.inputs.StreamBackfillAllOracleExcludedObjectsOracleSchemaArgs.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.StreamBackfillAllOracleExcludedObjectsOracleSchemaArgs.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 oracleTables Tables in the database.
 * Structure is documented below.
 * @property schema Schema name.
 */
public data class StreamBackfillAllOracleExcludedObjectsOracleSchemaArgs(
    public val oracleTables: Output>? = null,
    public val schema: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamBackfillAllOracleExcludedObjectsOracleSchemaArgs =
        com.pulumi.gcp.datastream.inputs.StreamBackfillAllOracleExcludedObjectsOracleSchemaArgs.builder()
            .oracleTables(
                oracleTables?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .schema(schema.applyValue({ args0 -> args0 })).build()
}

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

    private var schema: Output? = null

    /**
     * @param value Tables in the database.
     * Structure is documented below.
     */
    @JvmName("ctynoonotlubyfeg")
    public suspend fun oracleTables(`value`: Output>) {
        this.oracleTables = value
    }

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

    /**
     * @param values Tables in the database.
     * Structure is documented below.
     */
    @JvmName("qajoftcdlwnhqahe")
    public suspend fun oracleTables(values: List>) {
        this.oracleTables = Output.all(values)
    }

    /**
     * @param value Schema name.
     */
    @JvmName("hrwgfcvajssqmdgk")
    public suspend fun schema(`value`: Output) {
        this.schema = value
    }

    /**
     * @param value Tables in the database.
     * Structure is documented below.
     */
    @JvmName("pdoycdqsndplxnac")
    public suspend fun oracleTables(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.oracleTables = mapped
    }

    /**
     * @param argument Tables in the database.
     * Structure is documented below.
     */
    @JvmName("fktywtptbfqlpdqb")
    public suspend fun oracleTables(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            StreamBackfillAllOracleExcludedObjectsOracleSchemaOracleTableArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.oracleTables = mapped
    }

    /**
     * @param argument Tables in the database.
     * Structure is documented below.
     */
    @JvmName("ntvjrrfbscrxmdal")
    public suspend fun oracleTables(vararg argument: suspend StreamBackfillAllOracleExcludedObjectsOracleSchemaOracleTableArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            StreamBackfillAllOracleExcludedObjectsOracleSchemaOracleTableArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.oracleTables = mapped
    }

    /**
     * @param argument Tables in the database.
     * Structure is documented below.
     */
    @JvmName("jjrhcpbavxhuroax")
    public suspend fun oracleTables(argument: suspend StreamBackfillAllOracleExcludedObjectsOracleSchemaOracleTableArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                StreamBackfillAllOracleExcludedObjectsOracleSchemaOracleTableArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.oracleTables = mapped
    }

    /**
     * @param values Tables in the database.
     * Structure is documented below.
     */
    @JvmName("renpmcxduyhnaots")
    public suspend fun oracleTables(vararg values: StreamBackfillAllOracleExcludedObjectsOracleSchemaOracleTableArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.oracleTables = mapped
    }

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

    internal fun build(): StreamBackfillAllOracleExcludedObjectsOracleSchemaArgs =
        StreamBackfillAllOracleExcludedObjectsOracleSchemaArgs(
            oracleTables = oracleTables,
            schema = schema ?: throw PulumiNullFieldException("schema"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy