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

com.pulumi.googlenative.websecurityscanner.v1alpha.kotlin.enums.ScanRunExecutionState.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.websecurityscanner.v1alpha.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * The execution state of the ScanRun.
 */
public enum class ScanRunExecutionState(
    public val javaValue: com.pulumi.googlenative.websecurityscanner.v1alpha.enums.ScanRunExecutionState,
) :
    ConvertibleToJava {
    /**
     * Represents an invalid state caused by internal server error. This value should never be returned.
     */
    ExecutionStateUnspecified(com.pulumi.googlenative.websecurityscanner.v1alpha.enums.ScanRunExecutionState.ExecutionStateUnspecified),

    /**
     * The scan is waiting in the queue.
     */
    Queued(com.pulumi.googlenative.websecurityscanner.v1alpha.enums.ScanRunExecutionState.Queued),

    /**
     * The scan is in progress.
     */
    Scanning(com.pulumi.googlenative.websecurityscanner.v1alpha.enums.ScanRunExecutionState.Scanning),

    /**
     * The scan is either finished or stopped by user.
     */
    Finished(com.pulumi.googlenative.websecurityscanner.v1alpha.enums.ScanRunExecutionState.Finished),
    ;

    override fun toJava(): com.pulumi.googlenative.websecurityscanner.v1alpha.enums.ScanRunExecutionState = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.websecurityscanner.v1alpha.enums.ScanRunExecutionState): ScanRunExecutionState = ScanRunExecutionState.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy