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

package com.azure.resourcemanager.appplatform.models;

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

/** Defines values for BuildpackBindingProvisioningState. */
public final class BuildpackBindingProvisioningState extends ExpandableStringEnum<BuildpackBindingProvisioningState> {
    /** Static value Creating for BuildpackBindingProvisioningState. */
    public static final BuildpackBindingProvisioningState CREATING = fromString("Creating");

    /** Static value Updating for BuildpackBindingProvisioningState. */
    public static final BuildpackBindingProvisioningState UPDATING = fromString("Updating");

    /** Static value Succeeded for BuildpackBindingProvisioningState. */
    public static final BuildpackBindingProvisioningState SUCCEEDED = fromString("Succeeded");

    /** Static value Failed for BuildpackBindingProvisioningState. */
    public static final BuildpackBindingProvisioningState FAILED = fromString("Failed");

    /** Static value Deleting for BuildpackBindingProvisioningState. */
    public static final BuildpackBindingProvisioningState DELETING = fromString("Deleting");

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

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