// 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;

/**
 * Storage to Network Proximity
 *
 * <p>Provides storage to network proximity information in the region.
 */
public final class RegionStorageToNetworkProximity extends ExpandableStringEnum<RegionStorageToNetworkProximity> {
    /** Static value Default for RegionStorageToNetworkProximity. */
    public static final RegionStorageToNetworkProximity DEFAULT = fromString("Default");

    /** Static value T1 for RegionStorageToNetworkProximity. */
    public static final RegionStorageToNetworkProximity T1 = fromString("T1");

    /** Static value T2 for RegionStorageToNetworkProximity. */
    public static final RegionStorageToNetworkProximity T2 = fromString("T2");

    /** Static value T1AndT2 for RegionStorageToNetworkProximity. */
    public static final RegionStorageToNetworkProximity T1AND_T2 = fromString("T1AndT2");

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

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

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