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

package com.azure.resourcemanager.keyvault.models;

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

/** SKU Family of the managed HSM Pool. */
public final class ManagedHsmSkuFamily extends ExpandableStringEnum<ManagedHsmSkuFamily> {
    /** Static value B for ManagedHsmSkuFamily. */
    public static final ManagedHsmSkuFamily B = fromString("B");

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

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

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