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

com.pulumi.azure.datafactory.kotlin.outputs.DataFlowSink.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.datafactory.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property dataset A `dataset` block as defined below.
 * @property description The description for the Data Flow Source.
 * @property flowlet A `flowlet` block as defined below.
 * @property linkedService A `linked_service` block as defined below.
 * @property name The name for the Data Flow Source.
 * @property rejectedLinkedService A `rejected_linked_service` block as defined below.
 * @property schemaLinkedService A `schema_linked_service` block as defined below.
 */
public data class DataFlowSink(
    public val dataset: DataFlowSinkDataset? = null,
    public val description: String? = null,
    public val flowlet: DataFlowSinkFlowlet? = null,
    public val linkedService: DataFlowSinkLinkedService? = null,
    public val name: String,
    public val rejectedLinkedService: DataFlowSinkRejectedLinkedService? = null,
    public val schemaLinkedService: DataFlowSinkSchemaLinkedService? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.datafactory.outputs.DataFlowSink): DataFlowSink =
            DataFlowSink(
                dataset = javaType.dataset().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.datafactory.kotlin.outputs.DataFlowSinkDataset.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                description = javaType.description().map({ args0 -> args0 }).orElse(null),
                flowlet = javaType.flowlet().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.datafactory.kotlin.outputs.DataFlowSinkFlowlet.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                linkedService = javaType.linkedService().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.datafactory.kotlin.outputs.DataFlowSinkLinkedService.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                name = javaType.name(),
                rejectedLinkedService = javaType.rejectedLinkedService().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.datafactory.kotlin.outputs.DataFlowSinkRejectedLinkedService.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                schemaLinkedService = javaType.schemaLinkedService().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.datafactory.kotlin.outputs.DataFlowSinkSchemaLinkedService.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy