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

package com.azure.resourcemanager.synapse.models;

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

/** Defines values for AzureADOnlyAuthenticationName. */
public final class AzureADOnlyAuthenticationName extends ExpandableStringEnum<AzureADOnlyAuthenticationName> {
    /** Static value default for AzureADOnlyAuthenticationName. */
    public static final AzureADOnlyAuthenticationName DEFAULT = fromString("default");

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

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

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