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

com.pulumi.aws.appflow.kotlin.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.appflow.kotlin.inputs

import com.pulumi.aws.appflow.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property bucketPrefix
 * @property errorHandlingConfig
 * @property intermediateBucketName
 * @property object
 */
public data class FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeArgs(
    public val bucketPrefix: Output? = null,
    public val errorHandlingConfig: Output? =
        null,
    public val intermediateBucketName: Output,
    public val `object`: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.appflow.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeArgs =
        com.pulumi.aws.appflow.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeArgs.builder()
            .bucketPrefix(bucketPrefix?.applyValue({ args0 -> args0 }))
            .errorHandlingConfig(
                errorHandlingConfig?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .intermediateBucketName(intermediateBucketName.applyValue({ args0 -> args0 }))
            .`object`(`object`.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeArgs].
 */
@PulumiTagMarker
public class FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeArgsBuilder internal constructor() {
    private var bucketPrefix: Output? = null

    private var errorHandlingConfig:
        Output? =
        null

    private var intermediateBucketName: Output? = null

    private var `object`: Output? = null

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

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

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

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

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

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

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

    /**
     * @param value
     */
    @JvmName("edukffvowenlhqgk")
    public suspend fun intermediateBucketName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.intermediateBucketName = mapped
    }

    /**
     * @param value
     */
    @JvmName("qdkkwuhvdwgehdpu")
    public suspend fun `object`(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`object` = mapped
    }

    internal fun build(): FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeArgs =
        FlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeArgs(
            bucketPrefix = bucketPrefix,
            errorHandlingConfig = errorHandlingConfig,
            intermediateBucketName = intermediateBucketName ?: throw
                PulumiNullFieldException("intermediateBucketName"),
            `object` = `object` ?: throw PulumiNullFieldException("object"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy