![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.athena.kotlin.outputs.GetWorkGroupResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.athena.kotlin.outputs
import com.pulumi.awsnative.athena.kotlin.enums.WorkGroupState
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property creationTime The date and time the workgroup was created.
* @property description The workgroup description.
* @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
*/
public data class GetWorkGroupResult(
public val creationTime: String? = null,
public val description: String? = null,
public val state: WorkGroupState? = null,
public val tags: List? = null,
public val workGroupConfiguration: WorkGroupConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.athena.outputs.GetWorkGroupResult): GetWorkGroupResult = GetWorkGroupResult(
creationTime = javaType.creationTime().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.athena.kotlin.enums.WorkGroupState.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
workGroupConfiguration = javaType.workGroupConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.athena.kotlin.outputs.WorkGroupConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy