/**
 * 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.v2018_12_01;

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

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

    /** Static value SHA1 for IpsecIntegrity. */
    public static final IpsecIntegrity SHA1 = fromString("SHA1");

    /** Static value SHA256 for IpsecIntegrity. */
    public static final IpsecIntegrity SHA256 = fromString("SHA256");

    /** Static value GCMAES128 for IpsecIntegrity. */
    public static final IpsecIntegrity GCMAES128 = fromString("GCMAES128");

    /** Static value GCMAES192 for IpsecIntegrity. */
    public static final IpsecIntegrity GCMAES192 = fromString("GCMAES192");

    /** Static value GCMAES256 for IpsecIntegrity. */
    public static final IpsecIntegrity GCMAES256 = fromString("GCMAES256");

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

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