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

package com.azure.resourcemanager.recoveryservicessiterecovery.models;

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

/** A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'. */
public final class SetMultiVmSyncStatus extends ExpandableStringEnum<SetMultiVmSyncStatus> {
    /** Static value Enable for SetMultiVmSyncStatus. */
    public static final SetMultiVmSyncStatus ENABLE = fromString("Enable");

    /** Static value Disable for SetMultiVmSyncStatus. */
    public static final SetMultiVmSyncStatus DISABLE = fromString("Disable");

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

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

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