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

package com.azure.resourcemanager.machinelearningservices.models;

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

/** Defines values for ClusterPurpose. */
public final class ClusterPurpose extends ExpandableStringEnum<ClusterPurpose> {
    /** Static value FastProd for ClusterPurpose. */
    public static final ClusterPurpose FAST_PROD = fromString("FastProd");

    /** Static value DenseProd for ClusterPurpose. */
    public static final ClusterPurpose DENSE_PROD = fromString("DenseProd");

    /** Static value DevTest for ClusterPurpose. */
    public static final ClusterPurpose DEV_TEST = fromString("DevTest");

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

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