![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.customerprofiles.kotlin.inputs.IntegrationSourceFlowConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.customerprofiles.kotlin.inputs
import com.pulumi.awsnative.customerprofiles.inputs.IntegrationSourceFlowConfigArgs.builder
import com.pulumi.awsnative.customerprofiles.kotlin.enums.IntegrationConnectorType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @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 IntegrationSourceFlowConfigArgs(
public val connectorProfileName: Output? = null,
public val connectorType: Output,
public val incrementalPullConfig: Output? = null,
public val sourceConnectorProperties: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.customerprofiles.inputs.IntegrationSourceFlowConfigArgs =
com.pulumi.awsnative.customerprofiles.inputs.IntegrationSourceFlowConfigArgs.builder()
.connectorProfileName(connectorProfileName?.applyValue({ args0 -> args0 }))
.connectorType(connectorType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.incrementalPullConfig(
incrementalPullConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.sourceConnectorProperties(
sourceConnectorProperties.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [IntegrationSourceFlowConfigArgs].
*/
@PulumiTagMarker
public class IntegrationSourceFlowConfigArgsBuilder internal constructor() {
private var connectorProfileName: Output? = null
private var connectorType: Output? = null
private var incrementalPullConfig: Output? = null
private var sourceConnectorProperties: Output? = null
/**
* @param value The name of the Amazon AppFlow connector profile. This name must be unique for each connector profile in the AWS account .
*/
@JvmName("vtcvcqctbiuecujm")
public suspend fun connectorProfileName(`value`: Output) {
this.connectorProfileName = value
}
/**
* @param value The type of connector, such as Salesforce, Marketo, and so on.
*/
@JvmName("wsfflygppxudrnfq")
public suspend fun connectorType(`value`: Output) {
this.connectorType = value
}
/**
* @param value 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.
*/
@JvmName("wfqstnbvuvvregax")
public suspend fun incrementalPullConfig(`value`: Output) {
this.incrementalPullConfig = value
}
/**
* @param value Specifies the information that is required to query a particular source connector.
*/
@JvmName("abwpurhwkmnpnmke")
public suspend fun sourceConnectorProperties(`value`: Output) {
this.sourceConnectorProperties = value
}
/**
* @param value The name of the Amazon AppFlow connector profile. This name must be unique for each connector profile in the AWS account .
*/
@JvmName("wxlsfgbvsradjrld")
public suspend fun connectorProfileName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.connectorProfileName = mapped
}
/**
* @param value The type of connector, such as Salesforce, Marketo, and so on.
*/
@JvmName("iknusnnxxunekybf")
public suspend fun connectorType(`value`: IntegrationConnectorType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.connectorType = mapped
}
/**
* @param value 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.
*/
@JvmName("eaayftwllwjwbyxf")
public suspend fun incrementalPullConfig(`value`: IntegrationIncrementalPullConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.incrementalPullConfig = mapped
}
/**
* @param argument 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.
*/
@JvmName("ianorsadlbwyiutv")
public suspend fun incrementalPullConfig(argument: suspend IntegrationIncrementalPullConfigArgsBuilder.() -> Unit) {
val toBeMapped = IntegrationIncrementalPullConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.incrementalPullConfig = mapped
}
/**
* @param value Specifies the information that is required to query a particular source connector.
*/
@JvmName("pwpedbjikjdfmkiw")
public suspend fun sourceConnectorProperties(`value`: IntegrationSourceConnectorPropertiesArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sourceConnectorProperties = mapped
}
/**
* @param argument Specifies the information that is required to query a particular source connector.
*/
@JvmName("uavaqbspicjtrkws")
public suspend fun sourceConnectorProperties(argument: suspend IntegrationSourceConnectorPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = IntegrationSourceConnectorPropertiesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.sourceConnectorProperties = mapped
}
internal fun build(): IntegrationSourceFlowConfigArgs = IntegrationSourceFlowConfigArgs(
connectorProfileName = connectorProfileName,
connectorType = connectorType ?: throw PulumiNullFieldException("connectorType"),
incrementalPullConfig = incrementalPullConfig,
sourceConnectorProperties = sourceConnectorProperties ?: throw
PulumiNullFieldException("sourceConnectorProperties"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy