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

package com.azure.resourcemanager.netapp.models;

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

/**
 * avsDataStore
 *
 * <p>Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.
 */
public final class AvsDataStore extends ExpandableStringEnum<AvsDataStore> {
    /** Static value Enabled for AvsDataStore. */
    public static final AvsDataStore ENABLED = fromString("Enabled");

    /** Static value Disabled for AvsDataStore. */
    public static final AvsDataStore DISABLED = fromString("Disabled");

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

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

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