/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.synapse.v2019_06_01_preview;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
 * Defines values for ManagedIntegrationRuntimeNodeStatus.
 */
public final class ManagedIntegrationRuntimeNodeStatus extends ExpandableStringEnum<ManagedIntegrationRuntimeNodeStatus> {
    /** Static value Starting for ManagedIntegrationRuntimeNodeStatus. */
    public static final ManagedIntegrationRuntimeNodeStatus STARTING = fromString("Starting");

    /** Static value Available for ManagedIntegrationRuntimeNodeStatus. */
    public static final ManagedIntegrationRuntimeNodeStatus AVAILABLE = fromString("Available");

    /** Static value Recycling for ManagedIntegrationRuntimeNodeStatus. */
    public static final ManagedIntegrationRuntimeNodeStatus RECYCLING = fromString("Recycling");

    /** Static value Unavailable for ManagedIntegrationRuntimeNodeStatus. */
    public static final ManagedIntegrationRuntimeNodeStatus UNAVAILABLE = fromString("Unavailable");

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

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