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

package com.azure.resourcemanager.dataprotection.models;

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

/** Gets or sets the type of the datastore. */
public final class StorageSettingStoreTypes extends ExpandableStringEnum<StorageSettingStoreTypes> {
    /** Static value ArchiveStore for StorageSettingStoreTypes. */
    public static final StorageSettingStoreTypes ARCHIVE_STORE = fromString("ArchiveStore");

    /** Static value OperationalStore for StorageSettingStoreTypes. */
    public static final StorageSettingStoreTypes OPERATIONAL_STORE = fromString("OperationalStore");

    /** Static value VaultStore for StorageSettingStoreTypes. */
    public static final StorageSettingStoreTypes VAULT_STORE = fromString("VaultStore");

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

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

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