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

package com.azure.resourcemanager.cdn.models;

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

/** Defines values for WafRankingGroupBy. */
public final class WafRankingGroupBy extends ExpandableStringEnum<WafRankingGroupBy> {
    /** Static value httpStatusCode for WafRankingGroupBy. */
    public static final WafRankingGroupBy HTTP_STATUS_CODE = fromString("httpStatusCode");

    /** Static value customDomain for WafRankingGroupBy. */
    public static final WafRankingGroupBy CUSTOM_DOMAIN = fromString("customDomain");

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

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