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

package com.azure.resourcemanager.logic.models;

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

/** The integration service environment sku scale type. */
public final class IntegrationServiceEnvironmentSkuScaleType
    extends ExpandableStringEnum<IntegrationServiceEnvironmentSkuScaleType> {
    /** Static value Manual for IntegrationServiceEnvironmentSkuScaleType. */
    public static final IntegrationServiceEnvironmentSkuScaleType MANUAL = fromString("Manual");

    /** Static value Automatic for IntegrationServiceEnvironmentSkuScaleType. */
    public static final IntegrationServiceEnvironmentSkuScaleType AUTOMATIC = fromString("Automatic");

    /** Static value None for IntegrationServiceEnvironmentSkuScaleType. */
    public static final IntegrationServiceEnvironmentSkuScaleType NONE = fromString("None");

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

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

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