com.microsoft.azure.management.redis.TlsVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-redis Show documentation
Show all versions of azure-mgmt-redis Show documentation
This package contains Microsoft Azure Redis Cache SDK.
/**
* 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.redis;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
/**
* Defines values for TlsVersion.
*/
public final class TlsVersion extends ExpandableStringEnum {
/** Static value 1.0 for TlsVersion. */
public static final TlsVersion ONE_FULL_STOP_ZERO = fromString("1.0");
/** Static value 1.1 for TlsVersion. */
public static final TlsVersion ONE_FULL_STOP_ONE = fromString("1.1");
/** Static value 1.2 for TlsVersion. */
public static final TlsVersion ONE_FULL_STOP_TWO = fromString("1.2");
/**
* 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);
}
/**
* @return known TlsVersion values
*/
public static Collection values() {
return values(TlsVersion.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy