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

com.pulumi.awsnative.batch.kotlin.enums.JobQueueState.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.batch.kotlin.enums

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

/**
 * The state of the job queue. If the job queue state is `ENABLED` , it is able to accept jobs. If the job queue state is `DISABLED` , new jobs can't be added to the queue, but jobs already in the queue can finish.
 */
public enum class JobQueueState(
    public val javaValue: com.pulumi.awsnative.batch.enums.JobQueueState,
) : ConvertibleToJava {
    Disabled(com.pulumi.awsnative.batch.enums.JobQueueState.Disabled),
    Enabled(com.pulumi.awsnative.batch.enums.JobQueueState.Enabled),
    ;

    override fun toJava(): com.pulumi.awsnative.batch.enums.JobQueueState = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.batch.enums.JobQueueState): JobQueueState =
            JobQueueState.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy