com.pulumi.awsnative.athena.kotlin.inputs.WorkGroupEngineVersionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.athena.kotlin.inputs
import com.pulumi.awsnative.athena.inputs.WorkGroupEngineVersionArgs.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
/**
* The Athena engine version for running queries.
* @property effectiveEngineVersion Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a `CreateWorkGroup` or `UpdateWorkGroup` operation, the `EffectiveEngineVersion` field is ignored.
* @property selectedEngineVersion The engine version requested by the user. Possible values are determined by the output of `ListEngineVersions` , including AUTO. The default is AUTO.
*/
public data class WorkGroupEngineVersionArgs(
public val effectiveEngineVersion: Output? = null,
public val selectedEngineVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.athena.inputs.WorkGroupEngineVersionArgs =
com.pulumi.awsnative.athena.inputs.WorkGroupEngineVersionArgs.builder()
.effectiveEngineVersion(effectiveEngineVersion?.applyValue({ args0 -> args0 }))
.selectedEngineVersion(selectedEngineVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkGroupEngineVersionArgs].
*/
@PulumiTagMarker
public class WorkGroupEngineVersionArgsBuilder internal constructor() {
private var effectiveEngineVersion: Output? = null
private var selectedEngineVersion: Output? = null
/**
* @param value Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a `CreateWorkGroup` or `UpdateWorkGroup` operation, the `EffectiveEngineVersion` field is ignored.
*/
@JvmName("pehibhrxouklrvnr")
public suspend fun effectiveEngineVersion(`value`: Output) {
this.effectiveEngineVersion = value
}
/**
* @param value The engine version requested by the user. Possible values are determined by the output of `ListEngineVersions` , including AUTO. The default is AUTO.
*/
@JvmName("tckngfoncfjnrdso")
public suspend fun selectedEngineVersion(`value`: Output) {
this.selectedEngineVersion = value
}
/**
* @param value Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a `CreateWorkGroup` or `UpdateWorkGroup` operation, the `EffectiveEngineVersion` field is ignored.
*/
@JvmName("rwgsunqasbabvfid")
public suspend fun effectiveEngineVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.effectiveEngineVersion = mapped
}
/**
* @param value The engine version requested by the user. Possible values are determined by the output of `ListEngineVersions` , including AUTO. The default is AUTO.
*/
@JvmName("matncutdaugeakja")
public suspend fun selectedEngineVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.selectedEngineVersion = mapped
}
internal fun build(): WorkGroupEngineVersionArgs = WorkGroupEngineVersionArgs(
effectiveEngineVersion = effectiveEngineVersion,
selectedEngineVersion = selectedEngineVersion,
)
}