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

package com.azure.resourcemanager.appcontainers.models;

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

/** Custom Domain binding type. */
public final class BindingType extends ExpandableStringEnum<BindingType> {
    /** Static value Disabled for BindingType. */
    public static final BindingType DISABLED = fromString("Disabled");

    /** Static value SniEnabled for BindingType. */
    public static final BindingType SNI_ENABLED = fromString("SniEnabled");

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

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

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