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

com.pulumi.googlenative.containeranalysis.v1beta1.kotlin.enums.AssessmentState.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.containeranalysis.v1beta1.kotlin.enums

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

/**
 * Provides the state of this Vulnerability assessment.
 */
public enum class AssessmentState(
    public val javaValue: com.pulumi.googlenative.containeranalysis.v1beta1.enums.AssessmentState,
) : ConvertibleToJava {
    /**
     * No state is specified.
     */
    StateUnspecified(com.pulumi.googlenative.containeranalysis.v1beta1.enums.AssessmentState.StateUnspecified),

    /**
     * This product is known to be affected by this vulnerability.
     */
    Affected(com.pulumi.googlenative.containeranalysis.v1beta1.enums.AssessmentState.Affected),

    /**
     * This product is known to be not affected by this vulnerability.
     */
    NotAffected(com.pulumi.googlenative.containeranalysis.v1beta1.enums.AssessmentState.NotAffected),

    /**
     * This product contains a fix for this vulnerability.
     */
    Fixed(com.pulumi.googlenative.containeranalysis.v1beta1.enums.AssessmentState.Fixed),

    /**
     * It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation.
     */
    UnderInvestigation(com.pulumi.googlenative.containeranalysis.v1beta1.enums.AssessmentState.UnderInvestigation),
    ;

    override fun toJava(): com.pulumi.googlenative.containeranalysis.v1beta1.enums.AssessmentState =
        javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.containeranalysis.v1beta1.enums.AssessmentState): AssessmentState = AssessmentState.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy