com.pulumi.gcp.dataplex.kotlin.outputs.LakeMetastoreStatus.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataplex.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property endpoint The URI of the endpoint used to access the Metastore service.
* @property message Additional information about the current status.
* @property state Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
* @property updateTime Output only. The time when the lake was last updated.
*/
public data class LakeMetastoreStatus(
public val endpoint: String? = null,
public val message: String? = null,
public val state: String? = null,
public val updateTime: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.LakeMetastoreStatus): LakeMetastoreStatus = LakeMetastoreStatus(
endpoint = javaType.endpoint().map({ args0 -> args0 }).orElse(null),
message = javaType.message().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
updateTime = javaType.updateTime().map({ args0 -> args0 }).orElse(null),
)
}
}