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

package com.azure.resourcemanager.security.models;

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

/** The status of the health report. */
public final class StatusName extends ExpandableStringEnum<StatusName> {
    /** Static value Healthy for StatusName. */
    public static final StatusName HEALTHY = fromString("Healthy");

    /** Static value NotHealthy for StatusName. */
    public static final StatusName NOT_HEALTHY = fromString("NotHealthy");

    /** Static value NotApplicable for StatusName. */
    public static final StatusName NOT_APPLICABLE = fromString("NotApplicable");

    /**
     * Creates a new instance of StatusName value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public StatusName() {
    }

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

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