com.pulumi.azure.datafactory.kotlin.outputs.FlowletDataFlowSink.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 FlowletDataFlowSink(
public val dataset: FlowletDataFlowSinkDataset? = null,
public val description: String? = null,
public val flowlet: FlowletDataFlowSinkFlowlet? = null,
public val linkedService: FlowletDataFlowSinkLinkedService? = null,
public val name: String,
public val rejectedLinkedService: FlowletDataFlowSinkRejectedLinkedService? = null,
public val schemaLinkedService: FlowletDataFlowSinkSchemaLinkedService? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.datafactory.outputs.FlowletDataFlowSink): FlowletDataFlowSink = FlowletDataFlowSink(
dataset = javaType.dataset().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.datafactory.kotlin.outputs.FlowletDataFlowSinkDataset.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.FlowletDataFlowSinkFlowlet.Companion.toKotlin(args0)
})
}).orElse(null),
linkedService = javaType.linkedService().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.datafactory.kotlin.outputs.FlowletDataFlowSinkLinkedService.Companion.toKotlin(args0)
})
}).orElse(null),
name = javaType.name(),
rejectedLinkedService = javaType.rejectedLinkedService().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.datafactory.kotlin.outputs.FlowletDataFlowSinkRejectedLinkedService.Companion.toKotlin(args0)
})
}).orElse(null),
schemaLinkedService = javaType.schemaLinkedService().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.datafactory.kotlin.outputs.FlowletDataFlowSinkSchemaLinkedService.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}