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

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

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

    /** Static value TLSv1_1 for ApplicationGatewaySslProtocol. */
    public static final ApplicationGatewaySslProtocol TLSV1_1 = fromString("TLSv1_1");

    /** Static value TLSv1_2 for ApplicationGatewaySslProtocol. */
    public static final ApplicationGatewaySslProtocol TLSV1_2 = fromString("TLSv1_2");

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

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