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

com.pulumi.gcp.datastream.kotlin.inputs.StreamSourceConfigOracleSourceConfigArgs.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.datastream.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.datastream.inputs.StreamSourceConfigOracleSourceConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property dropLargeObjects Configuration to drop large object values.
 * @property excludeObjects Oracle objects to exclude from the stream.
 * Structure is documented below.
 * @property includeObjects Oracle objects to retrieve from the source.
 * Structure is documented below.
 * @property maxConcurrentBackfillTasks Maximum number of concurrent backfill tasks. The number should be non negative.
 * If not set (or set to 0), the system's default value will be used.
 * @property maxConcurrentCdcTasks Maximum number of concurrent CDC tasks. The number should be non negative.
 * If not set (or set to 0), the system's default value will be used.
 * @property streamLargeObjects Configuration to drop large object values.
 */
public data class StreamSourceConfigOracleSourceConfigArgs(
    public val dropLargeObjects: Output? =
        null,
    public val excludeObjects: Output? = null,
    public val includeObjects: Output? = null,
    public val maxConcurrentBackfillTasks: Output? = null,
    public val maxConcurrentCdcTasks: Output? = null,
    public val streamLargeObjects: Output? =
        null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamSourceConfigOracleSourceConfigArgs =
        com.pulumi.gcp.datastream.inputs.StreamSourceConfigOracleSourceConfigArgs.builder()
            .dropLargeObjects(dropLargeObjects?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .excludeObjects(excludeObjects?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .includeObjects(includeObjects?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .maxConcurrentBackfillTasks(maxConcurrentBackfillTasks?.applyValue({ args0 -> args0 }))
            .maxConcurrentCdcTasks(maxConcurrentCdcTasks?.applyValue({ args0 -> args0 }))
            .streamLargeObjects(
                streamLargeObjects?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [StreamSourceConfigOracleSourceConfigArgs].
 */
@PulumiTagMarker
public class StreamSourceConfigOracleSourceConfigArgsBuilder internal constructor() {
    private var dropLargeObjects: Output? =
        null

    private var excludeObjects: Output? = null

    private var includeObjects: Output? = null

    private var maxConcurrentBackfillTasks: Output? = null

    private var maxConcurrentCdcTasks: Output? = null

    private var streamLargeObjects:
        Output? = null

    /**
     * @param value Configuration to drop large object values.
     */
    @JvmName("lbgfronaohemgowg")
    public suspend fun dropLargeObjects(`value`: Output) {
        this.dropLargeObjects = value
    }

    /**
     * @param value Oracle objects to exclude from the stream.
     * Structure is documented below.
     */
    @JvmName("nmhjsjkxwwuooxid")
    public suspend fun excludeObjects(`value`: Output) {
        this.excludeObjects = value
    }

    /**
     * @param value Oracle objects to retrieve from the source.
     * Structure is documented below.
     */
    @JvmName("bmsbshabqjujxcfu")
    public suspend fun includeObjects(`value`: Output) {
        this.includeObjects = value
    }

    /**
     * @param value Maximum number of concurrent backfill tasks. The number should be non negative.
     * If not set (or set to 0), the system's default value will be used.
     */
    @JvmName("lfbpddlggluxasxv")
    public suspend fun maxConcurrentBackfillTasks(`value`: Output) {
        this.maxConcurrentBackfillTasks = value
    }

    /**
     * @param value Maximum number of concurrent CDC tasks. The number should be non negative.
     * If not set (or set to 0), the system's default value will be used.
     */
    @JvmName("xqrouwbajhbmsyku")
    public suspend fun maxConcurrentCdcTasks(`value`: Output) {
        this.maxConcurrentCdcTasks = value
    }

    /**
     * @param value Configuration to drop large object values.
     */
    @JvmName("yyvxwayyhlkisokn")
    public suspend fun streamLargeObjects(`value`: Output) {
        this.streamLargeObjects = value
    }

    /**
     * @param value Configuration to drop large object values.
     */
    @JvmName("qaucmpcvbeonjwii")
    public suspend fun dropLargeObjects(`value`: StreamSourceConfigOracleSourceConfigDropLargeObjectsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dropLargeObjects = mapped
    }

    /**
     * @param argument Configuration to drop large object values.
     */
    @JvmName("wnaqnjcnuowqpoyp")
    public suspend fun dropLargeObjects(argument: suspend StreamSourceConfigOracleSourceConfigDropLargeObjectsArgsBuilder.() -> Unit) {
        val toBeMapped = StreamSourceConfigOracleSourceConfigDropLargeObjectsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.dropLargeObjects = mapped
    }

    /**
     * @param value Oracle objects to exclude from the stream.
     * Structure is documented below.
     */
    @JvmName("ogxcrhwwxebrxcxy")
    public suspend fun excludeObjects(`value`: StreamSourceConfigOracleSourceConfigExcludeObjectsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.excludeObjects = mapped
    }

    /**
     * @param argument Oracle objects to exclude from the stream.
     * Structure is documented below.
     */
    @JvmName("sdqvpridifdrhuab")
    public suspend fun excludeObjects(argument: suspend StreamSourceConfigOracleSourceConfigExcludeObjectsArgsBuilder.() -> Unit) {
        val toBeMapped = StreamSourceConfigOracleSourceConfigExcludeObjectsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.excludeObjects = mapped
    }

    /**
     * @param value Oracle objects to retrieve from the source.
     * Structure is documented below.
     */
    @JvmName("keooiologmncquck")
    public suspend fun includeObjects(`value`: StreamSourceConfigOracleSourceConfigIncludeObjectsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.includeObjects = mapped
    }

    /**
     * @param argument Oracle objects to retrieve from the source.
     * Structure is documented below.
     */
    @JvmName("esxunlmgdyhspjkf")
    public suspend fun includeObjects(argument: suspend StreamSourceConfigOracleSourceConfigIncludeObjectsArgsBuilder.() -> Unit) {
        val toBeMapped = StreamSourceConfigOracleSourceConfigIncludeObjectsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.includeObjects = mapped
    }

    /**
     * @param value Maximum number of concurrent backfill tasks. The number should be non negative.
     * If not set (or set to 0), the system's default value will be used.
     */
    @JvmName("lwusgtespkwifytx")
    public suspend fun maxConcurrentBackfillTasks(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxConcurrentBackfillTasks = mapped
    }

    /**
     * @param value Maximum number of concurrent CDC tasks. The number should be non negative.
     * If not set (or set to 0), the system's default value will be used.
     */
    @JvmName("oqiynhbaoupwsqsj")
    public suspend fun maxConcurrentCdcTasks(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxConcurrentCdcTasks = mapped
    }

    /**
     * @param value Configuration to drop large object values.
     */
    @JvmName("jxqrxcacgtdcxhot")
    public suspend fun streamLargeObjects(`value`: StreamSourceConfigOracleSourceConfigStreamLargeObjectsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.streamLargeObjects = mapped
    }

    /**
     * @param argument Configuration to drop large object values.
     */
    @JvmName("kniupvindruycrqr")
    public suspend fun streamLargeObjects(argument: suspend StreamSourceConfigOracleSourceConfigStreamLargeObjectsArgsBuilder.() -> Unit) {
        val toBeMapped =
            StreamSourceConfigOracleSourceConfigStreamLargeObjectsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.streamLargeObjects = mapped
    }

    internal fun build(): StreamSourceConfigOracleSourceConfigArgs =
        StreamSourceConfigOracleSourceConfigArgs(
            dropLargeObjects = dropLargeObjects,
            excludeObjects = excludeObjects,
            includeObjects = includeObjects,
            maxConcurrentBackfillTasks = maxConcurrentBackfillTasks,
            maxConcurrentCdcTasks = maxConcurrentCdcTasks,
            streamLargeObjects = streamLargeObjects,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy