All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.eventgrid.models.TlsVersion Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for EventGrid Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure EventGrid Management Client. Package tag package-2021-10-preview.

There is a newer version: 1.2.0-beta.7
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.eventgrid.models;

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

/**
 * Minimum TLS version of the publisher allowed to publish to this domain.
 */
public final class TlsVersion extends ExpandableStringEnum {
    /**
     * Static value 1.0 for TlsVersion.
     */
    public static final TlsVersion ONE_ZERO = fromString("1.0");

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy