com.pulumi.awsnative.databrew.kotlin.outputs.RecipeStep.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.databrew.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property action The particular action to be performed in the recipe step.
* @property conditionExpressions Condition expressions applied to the step action
*/
public data class RecipeStep(
public val action: RecipeAction,
public val conditionExpressions: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.databrew.outputs.RecipeStep): RecipeStep =
RecipeStep(
action = javaType.action().let({ args0 ->
com.pulumi.awsnative.databrew.kotlin.outputs.RecipeAction.Companion.toKotlin(args0)
}),
conditionExpressions = javaType.conditionExpressions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.databrew.kotlin.outputs.RecipeConditionExpression.Companion.toKotlin(args0)
})
}),
)
}
}