SslPreference Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. workloads. models. SslPreference
- com.
- com.
public final class SslPreference
extends ExpandableStringEnum<SslPreference>
Gets or sets certificate preference if secure communication is enabled.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Ssl |
DISABLED
Static value Disabled for Ssl |
|
static final
Ssl |
ROOT_CERTIFICATE
Static value Root |
|
static final
Ssl |
SERVER_CERTIFICATE
Static value Server |
Constructor Summary
| Constructor | Description |
|---|---|
| SslPreference() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Ssl |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Ssl |
fromString(String name)
Creates or finds a Ssl |
|
static
Collection<Ssl |
values()
Gets known Ssl |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final SslPreference DISABLED
Static value Disabled for SslPreference.
ROOT_CERTIFICATE
public static final SslPreference ROOT_CERTIFICATE
Static value RootCertificate for SslPreference.
SERVER_CERTIFICATE
public static final SslPreference SERVER_CERTIFICATE
Static value ServerCertificate for SslPreference.
Constructor Details
SslPreference
@Deprecated
public SslPreference()
Deprecated
Creates a new instance of SslPreference value.
Method Details
fromString
public static SslPreference fromString(String name)
Creates or finds a SslPreference from its string representation.
Parameters:
Returns:
values
public static Collection<SslPreference> values()
Gets known SslPreference values.
Returns: