// 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;

/** The security family of the discovered solution. */
public final class SecurityFamily extends ExpandableStringEnum<SecurityFamily> {
    /** Static value Waf for SecurityFamily. */
    public static final SecurityFamily WAF = fromString("Waf");

    /** Static value Ngfw for SecurityFamily. */
    public static final SecurityFamily NGFW = fromString("Ngfw");

    /** Static value SaasWaf for SecurityFamily. */
    public static final SecurityFamily SAAS_WAF = fromString("SaasWaf");

    /** Static value Va for SecurityFamily. */
    public static final SecurityFamily VA = fromString("Va");

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

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

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