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

com.pulumi.gcp.datastream.kotlin.inputs.StreamBackfillAllPostgresqlExcludedObjectsArgs.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.StreamBackfillAllPostgresqlExcludedObjectsArgs.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 postgresqlSchemas PostgreSQL schemas on the server
 * Structure is documented below.
 */
public data class StreamBackfillAllPostgresqlExcludedObjectsArgs(
    public val postgresqlSchemas: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamBackfillAllPostgresqlExcludedObjectsArgs =
        com.pulumi.gcp.datastream.inputs.StreamBackfillAllPostgresqlExcludedObjectsArgs.builder()
            .postgresqlSchemas(
                postgresqlSchemas.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    /**
     * @param value PostgreSQL schemas on the server
     * Structure is documented below.
     */
    @JvmName("bcnluhflcyudtjjh")
    public suspend fun postgresqlSchemas(`value`: Output>) {
        this.postgresqlSchemas = value
    }

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

    /**
     * @param values PostgreSQL schemas on the server
     * Structure is documented below.
     */
    @JvmName("urwoasxcqtaffcgn")
    public suspend fun postgresqlSchemas(values: List>) {
        this.postgresqlSchemas = Output.all(values)
    }

    /**
     * @param value PostgreSQL schemas on the server
     * Structure is documented below.
     */
    @JvmName("eoeukdrmdswfsvoq")
    public suspend fun postgresqlSchemas(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.postgresqlSchemas = mapped
    }

    /**
     * @param argument PostgreSQL schemas on the server
     * Structure is documented below.
     */
    @JvmName("opqxnquoiuuswwcj")
    public suspend fun postgresqlSchemas(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.postgresqlSchemas = mapped
    }

    /**
     * @param argument PostgreSQL schemas on the server
     * Structure is documented below.
     */
    @JvmName("mvhrkvgbdvcycvcg")
    public suspend fun postgresqlSchemas(vararg argument: suspend StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.postgresqlSchemas = mapped
    }

    /**
     * @param argument PostgreSQL schemas on the server
     * Structure is documented below.
     */
    @JvmName("axnfypojplagmstj")
    public suspend fun postgresqlSchemas(argument: suspend StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.postgresqlSchemas = mapped
    }

    /**
     * @param values PostgreSQL schemas on the server
     * Structure is documented below.
     */
    @JvmName("yunjpudvfiqkptiu")
    public suspend fun postgresqlSchemas(vararg values: StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.postgresqlSchemas = mapped
    }

    internal fun build(): StreamBackfillAllPostgresqlExcludedObjectsArgs =
        StreamBackfillAllPostgresqlExcludedObjectsArgs(
            postgresqlSchemas = postgresqlSchemas ?: throw PulumiNullFieldException("postgresqlSchemas"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy