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

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

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

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

import com.pulumi.awsnative.databrew.inputs.JobDatabaseTableOutputOptionsArgs.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 tableName A prefix for the name of a table DataBrew will create in the database.
 * @property tempDirectory Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results.
 */
public data class JobDatabaseTableOutputOptionsArgs(
    public val tableName: Output,
    public val tempDirectory: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.databrew.inputs.JobDatabaseTableOutputOptionsArgs =
        com.pulumi.awsnative.databrew.inputs.JobDatabaseTableOutputOptionsArgs.builder()
            .tableName(tableName.applyValue({ args0 -> args0 }))
            .tempDirectory(tempDirectory?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [JobDatabaseTableOutputOptionsArgs].
 */
@PulumiTagMarker
public class JobDatabaseTableOutputOptionsArgsBuilder internal constructor() {
    private var tableName: Output? = null

    private var tempDirectory: Output? = null

    /**
     * @param value A prefix for the name of a table DataBrew will create in the database.
     */
    @JvmName("atmkrhslajkhdefj")
    public suspend fun tableName(`value`: Output) {
        this.tableName = value
    }

    /**
     * @param value Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results.
     */
    @JvmName("nxtmwhqwfbnsfsla")
    public suspend fun tempDirectory(`value`: Output) {
        this.tempDirectory = value
    }

    /**
     * @param value A prefix for the name of a table DataBrew will create in the database.
     */
    @JvmName("qwipwdsijbkuiflb")
    public suspend fun tableName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tableName = mapped
    }

    /**
     * @param value Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results.
     */
    @JvmName("mwyaorrespyyvaux")
    public suspend fun tempDirectory(`value`: JobS3LocationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tempDirectory = mapped
    }

    /**
     * @param argument Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results.
     */
    @JvmName("nmaxajtquebcguvs")
    public suspend fun tempDirectory(argument: suspend JobS3LocationArgsBuilder.() -> Unit) {
        val toBeMapped = JobS3LocationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.tempDirectory = mapped
    }

    internal fun build(): JobDatabaseTableOutputOptionsArgs = JobDatabaseTableOutputOptionsArgs(
        tableName = tableName ?: throw PulumiNullFieldException("tableName"),
        tempDirectory = tempDirectory,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy