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

package com.azure.resourcemanager.devcenter.models;

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

/** Active Directory join type. */
public final class DomainJoinType extends ExpandableStringEnum<DomainJoinType> {
    /** Static value HybridAzureADJoin for DomainJoinType. */
    public static final DomainJoinType HYBRID_AZURE_ADJOIN = fromString("HybridAzureADJoin");

    /** Static value AzureADJoin for DomainJoinType. */
    public static final DomainJoinType AZURE_ADJOIN = fromString("AzureADJoin");

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

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

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