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

com.pulumi.awsnative.databrew.kotlin.inputs.RecipeParametersInputPropertiesArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.databrew.kotlin.inputs

import com.pulumi.awsnative.databrew.inputs.RecipeParametersInputPropertiesArgs.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

/**
 * Input
 * @property dataCatalogInputDefinition
 * @property s3InputDefinition
 */
public data class RecipeParametersInputPropertiesArgs(
    public val dataCatalogInputDefinition: Output? = null,
    public val s3InputDefinition: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.databrew.inputs.RecipeParametersInputPropertiesArgs =
        com.pulumi.awsnative.databrew.inputs.RecipeParametersInputPropertiesArgs.builder()
            .dataCatalogInputDefinition(
                dataCatalogInputDefinition?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .s3InputDefinition(
                s3InputDefinition?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [RecipeParametersInputPropertiesArgs].
 */
@PulumiTagMarker
public class RecipeParametersInputPropertiesArgsBuilder internal constructor() {
    private var dataCatalogInputDefinition: Output? = null

    private var s3InputDefinition: Output? = null

    /**
     * @param value
     */
    @JvmName("tsxrtcpbcrjwiwbo")
    public suspend fun dataCatalogInputDefinition(`value`: Output) {
        this.dataCatalogInputDefinition = value
    }

    /**
     * @param value
     */
    @JvmName("bpvacjsddjhsemvw")
    public suspend fun s3InputDefinition(`value`: Output) {
        this.s3InputDefinition = value
    }

    /**
     * @param value
     */
    @JvmName("bugylvjhgmojlyme")
    public suspend fun dataCatalogInputDefinition(`value`: RecipeDataCatalogInputDefinitionArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataCatalogInputDefinition = mapped
    }

    /**
     * @param argument
     */
    @JvmName("hxjtboewanxfyyiy")
    public suspend fun dataCatalogInputDefinition(argument: suspend RecipeDataCatalogInputDefinitionArgsBuilder.() -> Unit) {
        val toBeMapped = RecipeDataCatalogInputDefinitionArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.dataCatalogInputDefinition = mapped
    }

    /**
     * @param value
     */
    @JvmName("hhktnjsydbyvjdyc")
    public suspend fun s3InputDefinition(`value`: RecipeS3LocationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.s3InputDefinition = mapped
    }

    /**
     * @param argument
     */
    @JvmName("cqoitsdfkppegqls")
    public suspend fun s3InputDefinition(argument: suspend RecipeS3LocationArgsBuilder.() -> Unit) {
        val toBeMapped = RecipeS3LocationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.s3InputDefinition = mapped
    }

    internal fun build(): RecipeParametersInputPropertiesArgs = RecipeParametersInputPropertiesArgs(
        dataCatalogInputDefinition = dataCatalogInputDefinition,
        s3InputDefinition = s3InputDefinition,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy