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

com.pulumi.awsnative.appflow.kotlin.outputs.GetFlowResult.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.appflow.kotlin.outputs

import com.pulumi.awsnative.appflow.kotlin.enums.FlowStatus
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property description Description of the flow.
 * @property destinationFlowConfigList List of Destination connectors of the flow.
 * @property flowArn ARN identifier of the flow.
 * @property flowStatus Flow activation status for Scheduled- and Event-triggered flows
 * @property metadataCatalogConfig Configurations of metadata catalog of the flow.
 * @property sourceFlowConfig Configurations of Source connector of the flow.
 * @property tags List of Tags.
 * @property tasks List of tasks for the flow.
 * @property triggerConfig Trigger settings of the flow.
 */
public data class GetFlowResult(
    public val description: String? = null,
    public val destinationFlowConfigList: List? = null,
    public val flowArn: String? = null,
    public val flowStatus: FlowStatus? = null,
    public val metadataCatalogConfig: FlowMetadataCatalogConfig? = null,
    public val sourceFlowConfig: FlowSourceFlowConfig? = null,
    public val tags: List? = null,
    public val tasks: List? = null,
    public val triggerConfig: FlowTriggerConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.appflow.outputs.GetFlowResult): GetFlowResult = GetFlowResult(
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            destinationFlowConfigList = javaType.destinationFlowConfigList().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.FlowDestinationFlowConfig.Companion.toKotlin(args0)
                })
            }),
            flowArn = javaType.flowArn().map({ args0 -> args0 }).orElse(null),
            flowStatus = javaType.flowStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.enums.FlowStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            metadataCatalogConfig = javaType.metadataCatalogConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.FlowMetadataCatalogConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sourceFlowConfig = javaType.sourceFlowConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.FlowSourceFlowConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            tasks = javaType.tasks().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.FlowTask.Companion.toKotlin(args0)
                })
            }),
            triggerConfig = javaType.triggerConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.FlowTriggerConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy