/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.network.v2019_09_01;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
 * Defines values for PfsGroup.
 */
public final class PfsGroup extends ExpandableStringEnum<PfsGroup> {
    /** Static value None for PfsGroup. */
    public static final PfsGroup NONE = fromString("None");

    /** Static value PFS1 for PfsGroup. */
    public static final PfsGroup PFS1 = fromString("PFS1");

    /** Static value PFS2 for PfsGroup. */
    public static final PfsGroup PFS2 = fromString("PFS2");

    /** Static value PFS2048 for PfsGroup. */
    public static final PfsGroup PFS2048 = fromString("PFS2048");

    /** Static value ECP256 for PfsGroup. */
    public static final PfsGroup ECP256 = fromString("ECP256");

    /** Static value ECP384 for PfsGroup. */
    public static final PfsGroup ECP384 = fromString("ECP384");

    /** Static value PFS24 for PfsGroup. */
    public static final PfsGroup PFS24 = fromString("PFS24");

    /** Static value PFS14 for PfsGroup. */
    public static final PfsGroup PFS14 = fromString("PFS14");

    /** Static value PFSMM for PfsGroup. */
    public static final PfsGroup PFSMM = fromString("PFSMM");

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

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