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

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

package com.pulumi.awsnative.sagemaker.kotlin.enums

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

/**
 * The desired state of the experiment after starting or stopping operation.
 */
public enum class InferenceExperimentDesiredState(
    public val javaValue: com.pulumi.awsnative.sagemaker.enums.InferenceExperimentDesiredState,
) : ConvertibleToJava {
    Running(com.pulumi.awsnative.sagemaker.enums.InferenceExperimentDesiredState.Running),
    Completed(com.pulumi.awsnative.sagemaker.enums.InferenceExperimentDesiredState.Completed),
    Cancelled(com.pulumi.awsnative.sagemaker.enums.InferenceExperimentDesiredState.Cancelled),
    ;

    override fun toJava(): com.pulumi.awsnative.sagemaker.enums.InferenceExperimentDesiredState =
        javaValue

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy