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

com.pulumi.awsnative.athena.kotlin.inputs.GetPreparedStatementPlainArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.athena.kotlin.inputs

import com.pulumi.awsnative.athena.inputs.GetPreparedStatementPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property statementName The name of the prepared statement.
 * @property workGroup The name of the workgroup to which the prepared statement belongs.
 */
public data class GetPreparedStatementPlainArgs(
    public val statementName: String,
    public val workGroup: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.athena.inputs.GetPreparedStatementPlainArgs =
        com.pulumi.awsnative.athena.inputs.GetPreparedStatementPlainArgs.builder()
            .statementName(statementName.let({ args0 -> args0 }))
            .workGroup(workGroup.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetPreparedStatementPlainArgs].
 */
@PulumiTagMarker
public class GetPreparedStatementPlainArgsBuilder internal constructor() {
    private var statementName: String? = null

    private var workGroup: String? = null

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

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

    internal fun build(): GetPreparedStatementPlainArgs = GetPreparedStatementPlainArgs(
        statementName = statementName ?: throw PulumiNullFieldException("statementName"),
        workGroup = workGroup ?: throw PulumiNullFieldException("workGroup"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy