All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataproc.kotlin.outputs.JobStatus.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataproc.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property details Optional job state details, such as an error description if the state is ERROR.
 * @property state A state message specifying the overall job state.
 * @property stateStartTime The time when this state was entered.
 * @property substate Additional state information, which includes status reported by the agent.
 */
public data class JobStatus(
    public val details: String? = null,
    public val state: String? = null,
    public val stateStartTime: String? = null,
    public val substate: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.JobStatus): JobStatus = JobStatus(
            details = javaType.details().map({ args0 -> args0 }).orElse(null),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
            stateStartTime = javaType.stateStartTime().map({ args0 -> args0 }).orElse(null),
            substate = javaType.substate().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy