com.pulumi.awsnative.databrew.kotlin.RecipeArgs.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
import com.pulumi.awsnative.databrew.RecipeArgs.builder
import com.pulumi.awsnative.databrew.kotlin.inputs.RecipeStepArgs
import com.pulumi.awsnative.databrew.kotlin.inputs.RecipeStepArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgs
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::DataBrew::Recipe.
* ## Example Usage
* ### Example
* No Java example available.
* @property description Description of the recipe
* @property name Recipe name
* @property steps A list of steps that are defined by the recipe.
* @property tags Metadata tags that have been applied to the recipe.
*/
public data class RecipeArgs(
public val description: Output? = null,
public val name: Output? = null,
public val steps: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.databrew.RecipeArgs =
com.pulumi.awsnative.databrew.RecipeArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.steps(steps?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [RecipeArgs].
*/
@PulumiTagMarker
public class RecipeArgsBuilder internal constructor() {
private var description: Output? = null
private var name: Output? = null
private var steps: Output>? = null
private var tags: Output>? = null
/**
* @param value Description of the recipe
*/
@JvmName("bcdnihlqdrojwgma")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Recipe name
*/
@JvmName("sibowllvoiudfafw")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A list of steps that are defined by the recipe.
*/
@JvmName("vpsnvjtbgwlduwmn")
public suspend fun steps(`value`: Output>) {
this.steps = value
}
@JvmName("xnyanerudunlheyu")
public suspend fun steps(vararg values: Output) {
this.steps = Output.all(values.asList())
}
/**
* @param values A list of steps that are defined by the recipe.
*/
@JvmName("xmhscatwwirreprt")
public suspend fun steps(values: List