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

package com.azure.resourcemanager.security.models;

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

/** Data types sent to workspace. */
public final class AdditionalWorkspaceDataType extends ExpandableStringEnum<AdditionalWorkspaceDataType> {
    /** Static value Alerts for AdditionalWorkspaceDataType. */
    public static final AdditionalWorkspaceDataType ALERTS = fromString("Alerts");

    /** Static value RawEvents for AdditionalWorkspaceDataType. */
    public static final AdditionalWorkspaceDataType RAW_EVENTS = fromString("RawEvents");

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

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

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