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

com.pulumi.awsnative.bedrock.kotlin.outputs.FlowVersionFlowNode.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.bedrock.kotlin.outputs

import com.pulumi.awsnative.bedrock.kotlin.enums.FlowVersionFlowNodeType
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * Internal mixin for flow node
 * @property configuration Contains configurations for the node.
 * @property inputs List of node inputs in a flow
 * @property name Name of a node in a flow
 * @property outputs List of node outputs in a flow
 * @property type The type of node. This value must match the name of the key that you provide in the configuration you provide in the `FlowNodeConfiguration` field.
 */
public data class FlowVersionFlowNode(
    public val configuration: Any? = null,
    public val inputs: List? = null,
    public val name: String,
    public val outputs: List? = null,
    public val type: FlowVersionFlowNodeType,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.FlowVersionFlowNode): FlowVersionFlowNode = FlowVersionFlowNode(
            configuration = javaType.configuration().map({ args0 -> args0 }).orElse(null),
            inputs = javaType.inputs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.bedrock.kotlin.outputs.FlowVersionFlowNodeInput.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
            outputs = javaType.outputs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.bedrock.kotlin.outputs.FlowVersionFlowNodeOutput.Companion.toKotlin(args0)
                })
            }),
            type = javaType.type().let({ args0 ->
                com.pulumi.awsnative.bedrock.kotlin.enums.FlowVersionFlowNodeType.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy