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

com.pulumi.googlenative.datastream.v1.kotlin.enums.StreamState.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.datastream.v1.kotlin.enums

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

/**
 * The state of the stream.
 */
public enum class StreamState(
    public val javaValue: com.pulumi.googlenative.datastream.v1.enums.StreamState,
) : ConvertibleToJava {
    /**
     * Unspecified stream state.
     */
    StateUnspecified(com.pulumi.googlenative.datastream.v1.enums.StreamState.StateUnspecified),

    /**
     * The stream has been created but has not yet started streaming data.
     */
    NotStarted(com.pulumi.googlenative.datastream.v1.enums.StreamState.NotStarted),

    /**
     * The stream is running.
     */
    Running(com.pulumi.googlenative.datastream.v1.enums.StreamState.Running),

    /**
     * The stream is paused.
     */
    Paused(com.pulumi.googlenative.datastream.v1.enums.StreamState.Paused),

    /**
     * The stream is in maintenance mode. Updates are rejected on the resource in this state.
     */
    Maintenance(com.pulumi.googlenative.datastream.v1.enums.StreamState.Maintenance),

    /**
     * The stream is experiencing an error that is preventing data from being streamed.
     */
    Failed(com.pulumi.googlenative.datastream.v1.enums.StreamState.Failed),

    /**
     * The stream has experienced a terminal failure.
     */
    FailedPermanently(com.pulumi.googlenative.datastream.v1.enums.StreamState.FailedPermanently),

    /**
     * The stream is starting, but not yet running.
     */
    Starting(com.pulumi.googlenative.datastream.v1.enums.StreamState.Starting),

    /**
     * The Stream is no longer reading new events, but still writing events in the buffer.
     */
    Draining(com.pulumi.googlenative.datastream.v1.enums.StreamState.Draining),
    ;

    override fun toJava(): com.pulumi.googlenative.datastream.v1.enums.StreamState = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.datastream.v1.enums.StreamState): StreamState = StreamState.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy