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

package com.azure.resourcemanager.network.models;

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

/** The variable to be scrubbed from the logs. */
public final class ScrubbingRuleEntryMatchVariable extends ExpandableStringEnum<ScrubbingRuleEntryMatchVariable> {
    /** Static value RequestHeaderNames for ScrubbingRuleEntryMatchVariable. */
    public static final ScrubbingRuleEntryMatchVariable REQUEST_HEADER_NAMES = fromString("RequestHeaderNames");

    /** Static value RequestCookieNames for ScrubbingRuleEntryMatchVariable. */
    public static final ScrubbingRuleEntryMatchVariable REQUEST_COOKIE_NAMES = fromString("RequestCookieNames");

    /** Static value RequestArgNames for ScrubbingRuleEntryMatchVariable. */
    public static final ScrubbingRuleEntryMatchVariable REQUEST_ARG_NAMES = fromString("RequestArgNames");

    /** Static value RequestPostArgNames for ScrubbingRuleEntryMatchVariable. */
    public static final ScrubbingRuleEntryMatchVariable REQUEST_POST_ARG_NAMES = fromString("RequestPostArgNames");

    /** Static value RequestJSONArgNames for ScrubbingRuleEntryMatchVariable. */
    public static final ScrubbingRuleEntryMatchVariable REQUEST_JSONARG_NAMES = fromString("RequestJSONArgNames");

    /** Static value RequestIPAddress for ScrubbingRuleEntryMatchVariable. */
    public static final ScrubbingRuleEntryMatchVariable REQUEST_IPADDRESS = fromString("RequestIPAddress");

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

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

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