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

com.pulumi.gcp.datastream.kotlin.outputs.StreamSourceConfigSqlServerSourceConfig.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 excludeObjects SQL Server objects to exclude from the stream.
 * Structure is documented below.
 * @property includeObjects SQL Server objects to retrieve from the source.
 * Structure is documented below.
 * @property maxConcurrentBackfillTasks Max concurrent backfill tasks.
 * @property maxConcurrentCdcTasks Max concurrent CDC tasks.
 */
public data class StreamSourceConfigSqlServerSourceConfig(
    public val excludeObjects: StreamSourceConfigSqlServerSourceConfigExcludeObjects? = null,
    public val includeObjects: StreamSourceConfigSqlServerSourceConfigIncludeObjects? = null,
    public val maxConcurrentBackfillTasks: Int? = null,
    public val maxConcurrentCdcTasks: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.datastream.outputs.StreamSourceConfigSqlServerSourceConfig): StreamSourceConfigSqlServerSourceConfig = StreamSourceConfigSqlServerSourceConfig(
            excludeObjects = javaType.excludeObjects().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.datastream.kotlin.outputs.StreamSourceConfigSqlServerSourceConfigExcludeObjects.Companion.toKotlin(args0)
                })
            }).orElse(null),
            includeObjects = javaType.includeObjects().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.datastream.kotlin.outputs.StreamSourceConfigSqlServerSourceConfigIncludeObjects.Companion.toKotlin(args0)
                })
            }).orElse(null),
            maxConcurrentBackfillTasks = javaType.maxConcurrentBackfillTasks().map({ args0 ->
                args0
            }).orElse(null),
            maxConcurrentCdcTasks = javaType.maxConcurrentCdcTasks().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy