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

package com.azure.resourcemanager.servicefabric.models;

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

/** Specifies the move cost for the service. */
public final class MoveCost extends ExpandableStringEnum<MoveCost> {
    /** Static value Zero for MoveCost. */
    public static final MoveCost ZERO = fromString("Zero");

    /** Static value Low for MoveCost. */
    public static final MoveCost LOW = fromString("Low");

    /** Static value Medium for MoveCost. */
    public static final MoveCost MEDIUM = fromString("Medium");

    /** Static value High for MoveCost. */
    public static final MoveCost HIGH = fromString("High");

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

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

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