![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.athena.kotlin.WorkGroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.athena.kotlin
import com.pulumi.awsnative.athena.WorkGroupArgs.builder
import com.pulumi.awsnative.athena.kotlin.enums.WorkGroupState
import com.pulumi.awsnative.athena.kotlin.inputs.WorkGroupConfigurationArgs
import com.pulumi.awsnative.athena.kotlin.inputs.WorkGroupConfigurationArgsBuilder
import com.pulumi.awsnative.athena.kotlin.inputs.WorkGroupConfigurationUpdatesArgs
import com.pulumi.awsnative.athena.kotlin.inputs.WorkGroupConfigurationUpdatesArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::Athena::WorkGroup
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property description The workgroup description.
* @property name The workGroup name.
* @property recursiveDeleteOption The option to delete the workgroup and its contents even if the workgroup contains any named queries.
* @property state The state of the workgroup: ENABLED or DISABLED.
* @property tags One or more tags, separated by commas, that you want to attach to the workgroup as you create it
* @property workGroupConfiguration The workgroup configuration
* @property workGroupConfigurationUpdates The workgroup configuration update object
*/
public data class WorkGroupArgs(
public val description: Output? = null,
public val name: Output? = null,
public val recursiveDeleteOption: Output? = null,
public val state: Output? = null,
public val tags: Output>? = null,
public val workGroupConfiguration: Output? = null,
public val workGroupConfigurationUpdates: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.athena.WorkGroupArgs =
com.pulumi.awsnative.athena.WorkGroupArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.recursiveDeleteOption(recursiveDeleteOption?.applyValue({ args0 -> args0 }))
.state(state?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.workGroupConfiguration(
workGroupConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.workGroupConfigurationUpdates(
workGroupConfigurationUpdates?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
).build()
}
/**
* Builder for [WorkGroupArgs].
*/
@PulumiTagMarker
public class WorkGroupArgsBuilder internal constructor() {
private var description: Output? = null
private var name: Output? = null
private var recursiveDeleteOption: Output? = null
private var state: Output? = null
private var tags: Output>? = null
private var workGroupConfiguration: Output? = null
private var workGroupConfigurationUpdates: Output? = null
/**
* @param value The workgroup description.
*/
@JvmName("hkhxspplbsbyxkci")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The workGroup name.
*/
@JvmName("qldlyctjthotodix")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The option to delete the workgroup and its contents even if the workgroup contains any named queries.
*/
@JvmName("kxvmlxeyqtisdbxr")
public suspend fun recursiveDeleteOption(`value`: Output) {
this.recursiveDeleteOption = value
}
/**
* @param value The state of the workgroup: ENABLED or DISABLED.
*/
@JvmName("ntpublnmbiguqsmf")
public suspend fun state(`value`: Output) {
this.state = value
}
/**
* @param value One or more tags, separated by commas, that you want to attach to the workgroup as you create it
*/
@JvmName("siplworhyacnyyau")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("tefjaesskaiwogqk")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values One or more tags, separated by commas, that you want to attach to the workgroup as you create it
*/
@JvmName("igjnyygaxvassxds")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy