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

package com.azure.resourcemanager.resourcemover.models;

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

/** Defines the job name. */
public final class JobName extends ExpandableStringEnum<JobName> {
    /** Static value InitialSync for JobName. */
    public static final JobName INITIAL_SYNC = fromString("InitialSync");

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

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

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