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

aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus.kt Maven / Gradle / Ivy

There is a newer version: 1.3.99
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.sagemaker.model



sealed class AutoMlJobSecondaryStatus {

    abstract val value: kotlin.String

    object AnalyzingData : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "AnalyzingData"
        override fun toString(): kotlin.String = value
    }

    object CandidateDefinitionsGenerated : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "CandidateDefinitionsGenerated"
        override fun toString(): kotlin.String = value
    }

    object Completed : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "Completed"
        override fun toString(): kotlin.String = value
    }

    object DeployingModel : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "DeployingModel"
        override fun toString(): kotlin.String = value
    }

    object ExplainabilityError : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "ExplainabilityError"
        override fun toString(): kotlin.String = value
    }

    object Failed : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "Failed"
        override fun toString(): kotlin.String = value
    }

    object FeatureEngineering : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "FeatureEngineering"
        override fun toString(): kotlin.String = value
    }

    object GeneratingExplainabilityReport : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "GeneratingExplainabilityReport"
        override fun toString(): kotlin.String = value
    }

    object MaxAutoMlJobRuntimeReached : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "MaxAutoMLJobRuntimeReached"
        override fun toString(): kotlin.String = value
    }

    object MaxCandidatesReached : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "MaxCandidatesReached"
        override fun toString(): kotlin.String = value
    }

    object ModelDeploymentError : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "ModelDeploymentError"
        override fun toString(): kotlin.String = value
    }

    object ModelTuning : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "ModelTuning"
        override fun toString(): kotlin.String = value
    }

    object Starting : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "Starting"
        override fun toString(): kotlin.String = value
    }

    object Stopped : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "Stopped"
        override fun toString(): kotlin.String = value
    }

    object Stopping : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override val value: kotlin.String = "Stopping"
        override fun toString(): kotlin.String = value
    }

    data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus() {
        override fun toString(): kotlin.String = value
    }

    companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        fun fromValue(str: kotlin.String): aws.sdk.kotlin.services.sagemaker.model.AutoMlJobSecondaryStatus = when(str) {
            "AnalyzingData" -> AnalyzingData
            "CandidateDefinitionsGenerated" -> CandidateDefinitionsGenerated
            "Completed" -> Completed
            "DeployingModel" -> DeployingModel
            "ExplainabilityError" -> ExplainabilityError
            "Failed" -> Failed
            "FeatureEngineering" -> FeatureEngineering
            "GeneratingExplainabilityReport" -> GeneratingExplainabilityReport
            "MaxAutoMLJobRuntimeReached" -> MaxAutoMlJobRuntimeReached
            "MaxCandidatesReached" -> MaxCandidatesReached
            "ModelDeploymentError" -> ModelDeploymentError
            "ModelTuning" -> ModelTuning
            "Starting" -> Starting
            "Stopped" -> Stopped
            "Stopping" -> Stopping
            else -> SdkUnknown(str)
        }

        /**
         * Get a list of all possible variants
         */
        fun values(): kotlin.collections.List = listOf(
            AnalyzingData,
            CandidateDefinitionsGenerated,
            Completed,
            DeployingModel,
            ExplainabilityError,
            Failed,
            FeatureEngineering,
            GeneratingExplainabilityReport,
            MaxAutoMlJobRuntimeReached,
            MaxCandidatesReached,
            ModelDeploymentError,
            ModelTuning,
            Starting,
            Stopped,
            Stopping
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy