
com.pulumi.awsnative.bedrock.kotlin.inputs.FlowNodeArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.bedrock.kotlin.inputs
import com.pulumi.awsnative.bedrock.inputs.FlowNodeArgs.builder
import com.pulumi.awsnative.bedrock.kotlin.enums.FlowNodeType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* 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 FlowNodeArgs(
public val configuration: Output? = null,
public val inputs: Output>? = null,
public val name: Output,
public val outputs: Output>? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.bedrock.inputs.FlowNodeArgs =
com.pulumi.awsnative.bedrock.inputs.FlowNodeArgs.builder()
.configuration(configuration?.applyValue({ args0 -> args0 }))
.inputs(inputs?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.name(name.applyValue({ args0 -> args0 }))
.outputs(
outputs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [FlowNodeArgs].
*/
@PulumiTagMarker
public class FlowNodeArgsBuilder internal constructor() {
private var configuration: Output? = null
private var inputs: Output>? = null
private var name: Output? = null
private var outputs: Output>? = null
private var type: Output? = null
/**
* @param value Contains configurations for the node.
*/
@JvmName("ondarmwjslkmsrxu")
public suspend fun configuration(`value`: Output) {
this.configuration = value
}
/**
* @param value List of node inputs in a flow
*/
@JvmName("qwkwocwroormgpen")
public suspend fun inputs(`value`: Output>) {
this.inputs = value
}
@JvmName("gyxthonfhbobpkau")
public suspend fun inputs(vararg values: Output) {
this.inputs = Output.all(values.asList())
}
/**
* @param values List of node inputs in a flow
*/
@JvmName("rvmqcemgpvwrtaqu")
public suspend fun inputs(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy