![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.bedrock.kotlin.outputs.FlowConnection.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.bedrock.kotlin.outputs
import com.pulumi.awsnative.bedrock.kotlin.enums.FlowConnectionType
import com.pulumi.core.Either
import kotlin.String
import kotlin.Suppress
/**
* Flow connection
* @property configuration The configuration of the connection.
* @property name Name of a connection in a flow
* @property source Name of a node in a flow
* @property target Name of a node in a flow
* @property type Whether the source node that the connection begins from is a condition node ( `Conditional` ) or not ( `Data` ).
*/
public data class FlowConnection(
public val configuration: Either? =
null,
public val name: String,
public val source: String,
public val target: String,
public val type: FlowConnectionType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.FlowConnection): FlowConnection = FlowConnection(
configuration = javaType.configuration().map({ args0 ->
args0.transform(
{ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.outputs.FlowConnectionConfiguration0Properties.Companion.toKotlin(args0)
})
},
{ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.outputs.FlowConnectionConfiguration1Properties.Companion.toKotlin(args0)
})
},
)
}).orElse(null),
name = javaType.name(),
source = javaType.source(),
target = javaType.target(),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.enums.FlowConnectionType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy