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

com.pulumi.awsnative.customerprofiles.kotlin.inputs.IntegrationSalesforceSourcePropertiesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.customerprofiles.kotlin.inputs

import com.pulumi.awsnative.customerprofiles.inputs.IntegrationSalesforceSourcePropertiesArgs.builder
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 kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enableDynamicFieldUpdate The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
 * @property includeDeletedRecords Indicates whether Amazon AppFlow includes deleted files in the flow run.
 * @property object The object specified in the Salesforce flow source.
 */
public data class IntegrationSalesforceSourcePropertiesArgs(
    public val enableDynamicFieldUpdate: Output? = null,
    public val includeDeletedRecords: Output? = null,
    public val `object`: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.customerprofiles.inputs.IntegrationSalesforceSourcePropertiesArgs =
        com.pulumi.awsnative.customerprofiles.inputs.IntegrationSalesforceSourcePropertiesArgs.builder()
            .enableDynamicFieldUpdate(enableDynamicFieldUpdate?.applyValue({ args0 -> args0 }))
            .includeDeletedRecords(includeDeletedRecords?.applyValue({ args0 -> args0 }))
            .`object`(`object`.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [IntegrationSalesforceSourcePropertiesArgs].
 */
@PulumiTagMarker
public class IntegrationSalesforceSourcePropertiesArgsBuilder internal constructor() {
    private var enableDynamicFieldUpdate: Output? = null

    private var includeDeletedRecords: Output? = null

    private var `object`: Output? = null

    /**
     * @param value The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
     */
    @JvmName("wocbaaaymraqptpt")
    public suspend fun enableDynamicFieldUpdate(`value`: Output) {
        this.enableDynamicFieldUpdate = value
    }

    /**
     * @param value Indicates whether Amazon AppFlow includes deleted files in the flow run.
     */
    @JvmName("imnaifnacupcxpxg")
    public suspend fun includeDeletedRecords(`value`: Output) {
        this.includeDeletedRecords = value
    }

    /**
     * @param value The object specified in the Salesforce flow source.
     */
    @JvmName("dmcokhlyilytoxhu")
    public suspend fun `object`(`value`: Output) {
        this.`object` = value
    }

    /**
     * @param value The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
     */
    @JvmName("mbcfkxsgvpbrbchl")
    public suspend fun enableDynamicFieldUpdate(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableDynamicFieldUpdate = mapped
    }

    /**
     * @param value Indicates whether Amazon AppFlow includes deleted files in the flow run.
     */
    @JvmName("hjefuvdfeqdgvflc")
    public suspend fun includeDeletedRecords(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.includeDeletedRecords = mapped
    }

    /**
     * @param value The object specified in the Salesforce flow source.
     */
    @JvmName("thfpimxgphakudjj")
    public suspend fun `object`(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`object` = mapped
    }

    internal fun build(): IntegrationSalesforceSourcePropertiesArgs =
        IntegrationSalesforceSourcePropertiesArgs(
            enableDynamicFieldUpdate = enableDynamicFieldUpdate,
            includeDeletedRecords = includeDeletedRecords,
            `object` = `object` ?: throw PulumiNullFieldException("object"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy