TlsVersion Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. redis. models. TlsVersion
- com.
- com.
public final class TlsVersion
extends ExpandableStringEnum<TlsVersion>
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2').
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Tls |
ONE_ONE
Static value 1.1 for Tls |
static final
Tls |
ONE_TWO
Static value 1.2 for Tls |
static final
Tls |
ONE_ZERO
Static value 1.0 for Tls |
Constructor Summary
Constructor | Description |
---|---|
TlsVersion() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Tls |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Tls |
fromString(String name)
Creates or finds a Tls |
static
Collection<Tls |
values()
Gets known Tls |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ONE_ONE
public static final TlsVersion ONE_ONE
Static value 1.1 for TlsVersion.
ONE_TWO
public static final TlsVersion ONE_TWO
Static value 1.2 for TlsVersion.
ONE_ZERO
public static final TlsVersion ONE_ZERO
Static value 1.0 for TlsVersion.
Constructor Details
TlsVersion
@Deprecated
public TlsVersion()
Deprecated
Creates a new instance of TlsVersion value.
Method Details
fromString
public static TlsVersion fromString(String name)
Creates or finds a TlsVersion from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known TlsVersion values.
Returns:
Applies to
Azure SDK for Java