com.pulumi.gcp.biglake.kotlin.outputs.TableHiveOptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.biglake.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property parameters Stores user supplied Hive table parameters. An object containing a
* list of "key": value pairs.
* Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
* @property storageDescriptor Stores physical storage information on the data.
* Structure is documented below.
* @property tableType Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
*/
public data class TableHiveOptions(
public val parameters: Map? = null,
public val storageDescriptor: TableHiveOptionsStorageDescriptor? = null,
public val tableType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.biglake.outputs.TableHiveOptions): TableHiveOptions = TableHiveOptions(
parameters = javaType.parameters().map({ args0 -> args0.key.to(args0.value) }).toMap(),
storageDescriptor = javaType.storageDescriptor().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.biglake.kotlin.outputs.TableHiveOptionsStorageDescriptor.Companion.toKotlin(args0)
})
}).orElse(null),
tableType = javaType.tableType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy