StartTlsPolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. dashboard. models. StartTlsPolicy
- com.
- com.
public final class StartTlsPolicy
extends ExpandableStringEnum<StartTlsPolicy>
The StartTLSPolicy setting of the SMTP configuration https://pkg.go.dev/github.com/go-mail/mail\#StartTLSPolicy.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Start |
MANDATORY_START_TLS
Static value Mandatory |
|
static final
Start |
NO_START_TLS
Static value No |
|
static final
Start |
OPPORTUNISTIC_START_TLS
Static value Opportunistic |
Constructor Summary
| Constructor | Description |
|---|---|
| StartTlsPolicy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Start |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Start |
fromString(String name)
Creates or finds a Start |
|
static
Collection<Start |
values()
Gets known Start |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
MANDATORY_START_TLS
public static final StartTlsPolicy MANDATORY_START_TLS
Static value MandatoryStartTLS for StartTlsPolicy.
NO_START_TLS
public static final StartTlsPolicy NO_START_TLS
Static value NoStartTLS for StartTlsPolicy.
OPPORTUNISTIC_START_TLS
public static final StartTlsPolicy OPPORTUNISTIC_START_TLS
Static value OpportunisticStartTLS for StartTlsPolicy.
Constructor Details
StartTlsPolicy
@Deprecated
public StartTlsPolicy()
Deprecated
Creates a new instance of StartTlsPolicy value.
Method Details
fromString
public static StartTlsPolicy fromString(String name)
Creates or finds a StartTlsPolicy from its string representation.
Parameters:
Returns:
values
public static Collection<StartTlsPolicy> values()
Gets known StartTlsPolicy values.
Returns: