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

com.pulumi.gcp.datastream.kotlin.outputs.StreamSourceConfigOracleSourceConfig.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.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @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 StreamSourceConfigOracleSourceConfig(
    public val dropLargeObjects: StreamSourceConfigOracleSourceConfigDropLargeObjects? = null,
    public val excludeObjects: StreamSourceConfigOracleSourceConfigExcludeObjects? = null,
    public val includeObjects: StreamSourceConfigOracleSourceConfigIncludeObjects? = null,
    public val maxConcurrentBackfillTasks: Int? = null,
    public val maxConcurrentCdcTasks: Int? = null,
    public val streamLargeObjects: StreamSourceConfigOracleSourceConfigStreamLargeObjects? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.datastream.outputs.StreamSourceConfigOracleSourceConfig): StreamSourceConfigOracleSourceConfig = StreamSourceConfigOracleSourceConfig(
            dropLargeObjects = javaType.dropLargeObjects().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.datastream.kotlin.outputs.StreamSourceConfigOracleSourceConfigDropLargeObjects.Companion.toKotlin(args0)
                })
            }).orElse(null),
            excludeObjects = javaType.excludeObjects().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.datastream.kotlin.outputs.StreamSourceConfigOracleSourceConfigExcludeObjects.Companion.toKotlin(args0)
                })
            }).orElse(null),
            includeObjects = javaType.includeObjects().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.datastream.kotlin.outputs.StreamSourceConfigOracleSourceConfigIncludeObjects.Companion.toKotlin(args0)
                })
            }).orElse(null),
            maxConcurrentBackfillTasks = javaType.maxConcurrentBackfillTasks().map({ args0 ->
                args0
            }).orElse(null),
            maxConcurrentCdcTasks = javaType.maxConcurrentCdcTasks().map({ args0 -> args0 }).orElse(null),
            streamLargeObjects = javaType.streamLargeObjects().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.datastream.kotlin.outputs.StreamSourceConfigOracleSourceConfigStreamLargeObjects.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy