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

com.pulumi.awsnative.customerprofiles.kotlin.outputs.IntegrationTask.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.customerprofiles.kotlin.outputs

import com.pulumi.awsnative.customerprofiles.kotlin.enums.IntegrationTaskType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property connectorOperator The operation to be performed on the provided source fields.
 * @property destinationField A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
 * @property sourceFields The source fields to which a particular task is applied.
 * @property taskProperties A map used to store task-related information. The service looks for particular information based on the TaskType.
 * @property taskType Specifies the particular task implementation that Amazon AppFlow performs.
 */
public data class IntegrationTask(
    public val connectorOperator: IntegrationConnectorOperator? = null,
    public val destinationField: String? = null,
    public val sourceFields: List,
    public val taskProperties: List? = null,
    public val taskType: IntegrationTaskType,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.customerprofiles.outputs.IntegrationTask): IntegrationTask = IntegrationTask(
            connectorOperator = javaType.connectorOperator().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.customerprofiles.kotlin.outputs.IntegrationConnectorOperator.Companion.toKotlin(args0)
                })
            }).orElse(null),
            destinationField = javaType.destinationField().map({ args0 -> args0 }).orElse(null),
            sourceFields = javaType.sourceFields().map({ args0 -> args0 }),
            taskProperties = javaType.taskProperties().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.customerprofiles.kotlin.outputs.IntegrationTaskPropertiesMap.Companion.toKotlin(args0)
                })
            }),
            taskType = javaType.taskType().let({ args0 ->
                com.pulumi.awsnative.customerprofiles.kotlin.enums.IntegrationTaskType.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy