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

com.pulumi.awsnative.customerprofiles.kotlin.outputs.IntegrationSourceFlowConfig.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.customerprofiles.kotlin.outputs

import com.pulumi.awsnative.customerprofiles.kotlin.enums.IntegrationConnectorType
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property connectorProfileName The name of the Amazon AppFlow connector profile. This name must be unique for each connector profile in the AWS account .
 * @property connectorType The type of connector, such as Salesforce, Marketo, and so on.
 * @property incrementalPullConfig Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.
 * @property sourceConnectorProperties Specifies the information that is required to query a particular source connector.
 */
public data class IntegrationSourceFlowConfig(
    public val connectorProfileName: String? = null,
    public val connectorType: IntegrationConnectorType,
    public val incrementalPullConfig: IntegrationIncrementalPullConfig? = null,
    public val sourceConnectorProperties: IntegrationSourceConnectorProperties,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.customerprofiles.outputs.IntegrationSourceFlowConfig): IntegrationSourceFlowConfig = IntegrationSourceFlowConfig(
            connectorProfileName = javaType.connectorProfileName().map({ args0 -> args0 }).orElse(null),
            connectorType = javaType.connectorType().let({ args0 ->
                com.pulumi.awsnative.customerprofiles.kotlin.enums.IntegrationConnectorType.Companion.toKotlin(args0)
            }),
            incrementalPullConfig = javaType.incrementalPullConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.customerprofiles.kotlin.outputs.IntegrationIncrementalPullConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sourceConnectorProperties = javaType.sourceConnectorProperties().let({ args0 ->
                com.pulumi.awsnative.customerprofiles.kotlin.outputs.IntegrationSourceConnectorProperties.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy