
com.pulumi.awsnative.databrew.kotlin.inputs.RecipeSecondaryInputArgs.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.inputs
import com.pulumi.awsnative.databrew.inputs.RecipeSecondaryInputArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Secondary input
* @property dataCatalogInputDefinition
* @property s3InputDefinition
*/
public data class RecipeSecondaryInputArgs(
public val dataCatalogInputDefinition: Output? = null,
public val s3InputDefinition: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.databrew.inputs.RecipeSecondaryInputArgs =
com.pulumi.awsnative.databrew.inputs.RecipeSecondaryInputArgs.builder()
.dataCatalogInputDefinition(
dataCatalogInputDefinition?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.s3InputDefinition(
s3InputDefinition?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [RecipeSecondaryInputArgs].
*/
@PulumiTagMarker
public class RecipeSecondaryInputArgsBuilder internal constructor() {
private var dataCatalogInputDefinition: Output? = null
private var s3InputDefinition: Output? = null
/**
* @param value
*/
@JvmName("lllvvmrxepeimmsq")
public suspend fun dataCatalogInputDefinition(`value`: Output) {
this.dataCatalogInputDefinition = value
}
/**
* @param value
*/
@JvmName("ixpahuvjqmlneial")
public suspend fun s3InputDefinition(`value`: Output) {
this.s3InputDefinition = value
}
/**
* @param value
*/
@JvmName("bfmeworhnykuwjiu")
public suspend fun dataCatalogInputDefinition(`value`: RecipeDataCatalogInputDefinitionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataCatalogInputDefinition = mapped
}
/**
* @param argument
*/
@JvmName("uaymlwfavafdmerh")
public suspend fun dataCatalogInputDefinition(argument: suspend RecipeDataCatalogInputDefinitionArgsBuilder.() -> Unit) {
val toBeMapped = RecipeDataCatalogInputDefinitionArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.dataCatalogInputDefinition = mapped
}
/**
* @param value
*/
@JvmName("butgdxcylswjmbce")
public suspend fun s3InputDefinition(`value`: RecipeS3LocationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3InputDefinition = mapped
}
/**
* @param argument
*/
@JvmName("dipwrxtanoonwubh")
public suspend fun s3InputDefinition(argument: suspend RecipeS3LocationArgsBuilder.() -> Unit) {
val toBeMapped = RecipeS3LocationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.s3InputDefinition = mapped
}
internal fun build(): RecipeSecondaryInputArgs = RecipeSecondaryInputArgs(
dataCatalogInputDefinition = dataCatalogInputDefinition,
s3InputDefinition = s3InputDefinition,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy