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

package com.azure.resourcemanager.workloads.models;

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

/** The SAP software installation Type. */
public final class SapSoftwareInstallationType extends ExpandableStringEnum<SapSoftwareInstallationType> {
    /** Static value ServiceInitiated for SapSoftwareInstallationType. */
    public static final SapSoftwareInstallationType SERVICE_INITIATED = fromString("ServiceInitiated");

    /** Static value SAPInstallWithoutOSConfig for SapSoftwareInstallationType. */
    public static final SapSoftwareInstallationType SAPINSTALL_WITHOUT_OSCONFIG =
        fromString("SAPInstallWithoutOSConfig");

    /** Static value External for SapSoftwareInstallationType. */
    public static final SapSoftwareInstallationType EXTERNAL = fromString("External");

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

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

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