MinimalTlsVersion Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. MinimalTlsVersion
- com.
- com.
public final class MinimalTlsVersion
extends ExpandableStringEnum<MinimalTlsVersion>
Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Minimal |
TLS
Static value Tls for Minimal |
static final
Minimal |
TLS11
Static value Tls11 for Minimal |
static final
Minimal |
TLS12
Static value Tls12 for Minimal |
Constructor Summary
Constructor | Description |
---|---|
MinimalTlsVersion() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Minimal |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Minimal |
fromString(String name)
Creates or finds a Minimal |
static
Collection<Minimal |
values()
Gets known Minimal |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
TLS
public static final MinimalTlsVersion TLS
Static value Tls for MinimalTlsVersion.
TLS11
public static final MinimalTlsVersion TLS11
Static value Tls11 for MinimalTlsVersion.
TLS12
public static final MinimalTlsVersion TLS12
Static value Tls12 for MinimalTlsVersion.
Constructor Details
MinimalTlsVersion
@Deprecated
public MinimalTlsVersion()
Deprecated
Creates a new instance of MinimalTlsVersion value.
Method Details
fromString
public static MinimalTlsVersion fromString(String name)
Creates or finds a MinimalTlsVersion from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known MinimalTlsVersion values.
Returns:
Applies to
Azure SDK for Java