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

package com.azure.resourcemanager.databoxedge.models;

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

/** Type of storage accessed on the storage account. */
public final class AccountType extends ExpandableStringEnum<AccountType> {
    /** Static value GeneralPurposeStorage for AccountType. */
    public static final AccountType GENERAL_PURPOSE_STORAGE = fromString("GeneralPurposeStorage");

    /** Static value BlobStorage for AccountType. */
    public static final AccountType BLOB_STORAGE = fromString("BlobStorage");

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

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

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