// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.securityinsights.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/**
 * The confidence score calculation status, i.e. indicating if score calculation is pending for this alert, not
 * applicable or final.
 */
public final class ConfidenceScoreStatus extends ExpandableStringEnum<ConfidenceScoreStatus> {
    /** Static value NotApplicable for ConfidenceScoreStatus. */
    public static final ConfidenceScoreStatus NOT_APPLICABLE = fromString("NotApplicable");

    /** Static value InProcess for ConfidenceScoreStatus. */
    public static final ConfidenceScoreStatus IN_PROCESS = fromString("InProcess");

    /** Static value NotFinal for ConfidenceScoreStatus. */
    public static final ConfidenceScoreStatus NOT_FINAL = fromString("NotFinal");

    /** Static value Final for ConfidenceScoreStatus. */
    public static final ConfidenceScoreStatus FINAL = fromString("Final");

    /**
     * Creates or finds a ConfidenceScoreStatus from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding ConfidenceScoreStatus.
     */
    @JsonCreator
    public static ConfidenceScoreStatus fromString(String name) {
        return fromString(name, ConfidenceScoreStatus.class);
    }

    /**
     * Gets known ConfidenceScoreStatus values.
     *
     * @return known ConfidenceScoreStatus values.
     */
    public static Collection<ConfidenceScoreStatus> values() {
        return values(ConfidenceScoreStatus.class);
    }
}
