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

com.pulumi.awsnative.databrew.kotlin.outputs.RecipeStep.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.11.0.0
Show newest version
@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)
                    })
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy