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

package com.azure.resourcemanager.networkcloud.models;

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

/** The indicator to specify if the load balancer peers with the network fabric. */
public final class FabricPeeringEnabled extends ExpandableStringEnum<FabricPeeringEnabled> {
    /** Static value True for FabricPeeringEnabled. */
    public static final FabricPeeringEnabled TRUE = fromString("True");

    /** Static value False for FabricPeeringEnabled. */
    public static final FabricPeeringEnabled FALSE = fromString("False");

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

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

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