Class TlsVersion
- java.lang.Object
-
- com.microsoft.rest.ExpandableStringEnum<TlsVersion>
-
- com.microsoft.azure.management.redis.TlsVersion
-
public final class TlsVersion extends com.microsoft.rest.ExpandableStringEnum<TlsVersion>
Defines values for TlsVersion.
-
-
Field Summary
Fields Modifier and Type Field Description static TlsVersionONE_FULL_STOP_ONEStatic value 1.1 for TlsVersion.static TlsVersionONE_FULL_STOP_TWOStatic value 1.2 for TlsVersion.static TlsVersionONE_FULL_STOP_ZEROStatic value 1.0 for TlsVersion.
-
Constructor Summary
Constructors Constructor Description TlsVersion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TlsVersionfromString(String name)Creates or finds a TlsVersion from its string representation.static Collection<TlsVersion>values()
-
-
-
Field Detail
-
ONE_FULL_STOP_ZERO
public static final TlsVersion ONE_FULL_STOP_ZERO
Static value 1.0 for TlsVersion.
-
ONE_FULL_STOP_ONE
public static final TlsVersion ONE_FULL_STOP_ONE
Static value 1.1 for TlsVersion.
-
ONE_FULL_STOP_TWO
public static final TlsVersion ONE_FULL_STOP_TWO
Static value 1.2 for TlsVersion.
-
-
Method Detail
-
fromString
public static TlsVersion fromString(String name)
Creates or finds a TlsVersion from its string representation.- Parameters:
name- a name to look for- Returns:
- the corresponding TlsVersion
-
values
public static Collection<TlsVersion> values()
- Returns:
- known TlsVersion values
-
-