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

package com.azure.resourcemanager.automation.models;

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

/** Update classifications included in the software update configuration. */
public final class LinuxUpdateClasses extends ExpandableStringEnum<LinuxUpdateClasses> {
    /** Static value Unclassified for LinuxUpdateClasses. */
    public static final LinuxUpdateClasses UNCLASSIFIED = fromString("Unclassified");

    /** Static value Critical for LinuxUpdateClasses. */
    public static final LinuxUpdateClasses CRITICAL = fromString("Critical");

    /** Static value Security for LinuxUpdateClasses. */
    public static final LinuxUpdateClasses SECURITY = fromString("Security");

    /** Static value Other for LinuxUpdateClasses. */
    public static final LinuxUpdateClasses OTHER = fromString("Other");

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

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