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

package com.azure.resourcemanager.appservice.models;

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

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

    /** Static value 1.1 for SupportedTlsVersions. */
    public static final SupportedTlsVersions ONE_ONE = fromString("1.1");

    /** Static value 1.2 for SupportedTlsVersions. */
    public static final SupportedTlsVersions ONE_TWO = fromString("1.2");

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

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