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

package com.azure.resourcemanager.servicelinker.models;

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

/** Defines values for VNetSolutionType. */
public final class VNetSolutionType extends ExpandableStringEnum<VNetSolutionType> {
    /** Static value serviceEndpoint for VNetSolutionType. */
    public static final VNetSolutionType SERVICE_ENDPOINT = fromString("serviceEndpoint");

    /** Static value privateLink for VNetSolutionType. */
    public static final VNetSolutionType PRIVATE_LINK = fromString("privateLink");

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

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