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

com.pulumi.awsnative.appflow.kotlin.outputs.FlowSourceFlowConfig.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.appflow.kotlin.outputs

import com.pulumi.awsnative.appflow.kotlin.enums.FlowConnectorType
import kotlin.String
import kotlin.Suppress

/**
 * Configurations of Source connector of the flow.
 * @property apiVersion The API version that the destination connector uses.
 * @property connectorProfileName Name of source connector profile
 * @property connectorType Type of source connector
 * @property incrementalPullConfig Configuration for scheduled incremental data pull
 * @property sourceConnectorProperties Source connector details required to query a connector
 */
public data class FlowSourceFlowConfig(
    public val apiVersion: String? = null,
    public val connectorProfileName: String? = null,
    public val connectorType: FlowConnectorType,
    public val incrementalPullConfig: FlowIncrementalPullConfig? = null,
    public val sourceConnectorProperties: FlowSourceConnectorProperties,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.appflow.outputs.FlowSourceFlowConfig): FlowSourceFlowConfig = FlowSourceFlowConfig(
            apiVersion = javaType.apiVersion().map({ args0 -> args0 }).orElse(null),
            connectorProfileName = javaType.connectorProfileName().map({ args0 -> args0 }).orElse(null),
            connectorType = javaType.connectorType().let({ args0 ->
                com.pulumi.awsnative.appflow.kotlin.enums.FlowConnectorType.Companion.toKotlin(args0)
            }),
            incrementalPullConfig = javaType.incrementalPullConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.FlowIncrementalPullConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sourceConnectorProperties = javaType.sourceConnectorProperties().let({ args0 ->
                com.pulumi.awsnative.appflow.kotlin.outputs.FlowSourceConnectorProperties.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy