@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:48.072Z") @Stability(value=Experimental) public enum TlsPolicy extends Enum<TlsPolicy>
| Enum Constant and Description |
|---|
OPTIONAL
(experimental) Do not check for TLS.
|
REQUIRE
(experimental) Bounce emails that are not received over TLS.
|
| Modifier and Type | Method and Description |
|---|---|
static TlsPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TlsPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final TlsPolicy OPTIONAL
@Stability(value=Experimental) public static final TlsPolicy REQUIRE
public static TlsPolicy[] values()
for (TlsPolicy c : TlsPolicy.values()) System.out.println(c);
public static TlsPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.