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

com.pulumi.awsnative.athena.kotlin.PreparedStatementArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.athena.kotlin

import com.pulumi.awsnative.athena.PreparedStatementArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Resource schema for AWS::Athena::PreparedStatement
 * @property description The description of the prepared statement.
 * @property queryStatement The query string for the prepared statement.
 * @property statementName The name of the prepared statement.
 * @property workGroup The name of the workgroup to which the prepared statement belongs.
 */
public data class PreparedStatementArgs(
    public val description: Output? = null,
    public val queryStatement: Output? = null,
    public val statementName: Output? = null,
    public val workGroup: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.athena.PreparedStatementArgs =
        com.pulumi.awsnative.athena.PreparedStatementArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .queryStatement(queryStatement?.applyValue({ args0 -> args0 }))
            .statementName(statementName?.applyValue({ args0 -> args0 }))
            .workGroup(workGroup?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PreparedStatementArgs].
 */
@PulumiTagMarker
public class PreparedStatementArgsBuilder internal constructor() {
    private var description: Output? = null

    private var queryStatement: Output? = null

    private var statementName: Output? = null

    private var workGroup: Output? = null

    /**
     * @param value The description of the prepared statement.
     */
    @JvmName("pavopqhjnngxiawr")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The query string for the prepared statement.
     */
    @JvmName("xhqbvmqwrycyvpfh")
    public suspend fun queryStatement(`value`: Output) {
        this.queryStatement = value
    }

    /**
     * @param value The name of the prepared statement.
     */
    @JvmName("ahacbgllxtsujhxo")
    public suspend fun statementName(`value`: Output) {
        this.statementName = value
    }

    /**
     * @param value The name of the workgroup to which the prepared statement belongs.
     */
    @JvmName("ympodgkrnryaoayx")
    public suspend fun workGroup(`value`: Output) {
        this.workGroup = value
    }

    /**
     * @param value The description of the prepared statement.
     */
    @JvmName("dktoxybryhiqjhrk")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The query string for the prepared statement.
     */
    @JvmName("wfepnkreqpuqifmo")
    public suspend fun queryStatement(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.queryStatement = mapped
    }

    /**
     * @param value The name of the prepared statement.
     */
    @JvmName("atndveepvjncmlcj")
    public suspend fun statementName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.statementName = mapped
    }

    /**
     * @param value The name of the workgroup to which the prepared statement belongs.
     */
    @JvmName("qkijoamemoxvliji")
    public suspend fun workGroup(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.workGroup = mapped
    }

    internal fun build(): PreparedStatementArgs = PreparedStatementArgs(
        description = description,
        queryStatement = queryStatement,
        statementName = statementName,
        workGroup = workGroup,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy