com.pulumi.awsnative.databrew.kotlin.outputs.GetRecipeResult.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property description Description of the recipe
* @property steps A list of steps that are defined by the recipe.
*/
public data class GetRecipeResult(
public val description: String? = null,
public val steps: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.databrew.outputs.GetRecipeResult): GetRecipeResult = GetRecipeResult(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
steps = javaType.steps().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.databrew.kotlin.outputs.RecipeStep.Companion.toKotlin(args0)
})
}),
)
}
}