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

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

/**
 *
 * @property oracleSchemas Oracle schemas/databases in the database server
 * Structure is documented below.
 */
public data class StreamBackfillAllOracleExcludedObjectsArgs(
    public val oracleSchemas: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamBackfillAllOracleExcludedObjectsArgs = com.pulumi.gcp.datastream.inputs.StreamBackfillAllOracleExcludedObjectsArgs.builder()
        .oracleSchemas(
            oracleSchemas.applyValue({ args0 ->
                args0.map({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                })
            }),
        ).build()
}

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

    /**
     * @param value Oracle schemas/databases in the database server
     * Structure is documented below.
     */
    @JvmName("ydxyqaquitrqxkhv")
    public suspend fun oracleSchemas(`value`: Output>) {
        this.oracleSchemas = value
    }

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

    /**
     * @param values Oracle schemas/databases in the database server
     * Structure is documented below.
     */
    @JvmName("beaqqamtstgcsqrj")
    public suspend fun oracleSchemas(values: List>) {
        this.oracleSchemas = Output.all(values)
    }

    /**
     * @param value Oracle schemas/databases in the database server
     * Structure is documented below.
     */
    @JvmName("ottyrlytjmsyldfq")
    public suspend fun oracleSchemas(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.oracleSchemas = mapped
    }

    /**
     * @param argument Oracle schemas/databases in the database server
     * Structure is documented below.
     */
    @JvmName("opjtyqllercbtevo")
    public suspend fun oracleSchemas(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            StreamBackfillAllOracleExcludedObjectsOracleSchemaArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.oracleSchemas = mapped
    }

    /**
     * @param argument Oracle schemas/databases in the database server
     * Structure is documented below.
     */
    @JvmName("rlcutxoeqrpdlpky")
    public suspend fun oracleSchemas(vararg argument: suspend StreamBackfillAllOracleExcludedObjectsOracleSchemaArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            StreamBackfillAllOracleExcludedObjectsOracleSchemaArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.oracleSchemas = mapped
    }

    /**
     * @param argument Oracle schemas/databases in the database server
     * Structure is documented below.
     */
    @JvmName("xalunkjcmvolurtt")
    public suspend fun oracleSchemas(argument: suspend StreamBackfillAllOracleExcludedObjectsOracleSchemaArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                StreamBackfillAllOracleExcludedObjectsOracleSchemaArgsBuilder().applySuspend {
                    argument()
                }.build(),
            )
        val mapped = of(toBeMapped)
        this.oracleSchemas = mapped
    }

    /**
     * @param values Oracle schemas/databases in the database server
     * Structure is documented below.
     */
    @JvmName("mtgihwfloqkdlgoj")
    public suspend fun oracleSchemas(vararg values: StreamBackfillAllOracleExcludedObjectsOracleSchemaArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.oracleSchemas = mapped
    }

    internal fun build(): StreamBackfillAllOracleExcludedObjectsArgs =
        StreamBackfillAllOracleExcludedObjectsArgs(
            oracleSchemas = oracleSchemas ?: throw PulumiNullFieldException("oracleSchemas"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy