Enum ServerTLSSettingsProtocol
- java.lang.Object
-
- java.lang.Enum<ServerTLSSettingsProtocol>
-
- me.snowdrop.istio.api.networking.v1alpha3.ServerTLSSettingsProtocol
-
- All Implemented Interfaces:
Serializable,Comparable<ServerTLSSettingsProtocol>
public enum ServerTLSSettingsProtocol extends Enum<ServerTLSSettingsProtocol>
TLS protocol versions.- Author:
- Christophe Laprun
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intvalue()static ServerTLSSettingsProtocolvalueOf(String name)Returns the enum constant of this type with the specified name.static ServerTLSSettingsProtocol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TLS_AUTO
public static final ServerTLSSettingsProtocol TLS_AUTO
Automatically choose the optimal TLS version.
-
TLSV1_0
public static final ServerTLSSettingsProtocol TLSV1_0
TLS version 1.0
-
TLSV1_1
public static final ServerTLSSettingsProtocol TLSV1_1
TLS version 1.1
-
TLSV1_2
public static final ServerTLSSettingsProtocol TLSV1_2
TLS version 1.2
-
TLSV1_3
public static final ServerTLSSettingsProtocol TLSV1_3
TLS version 1.3
-
-
Method Detail
-
values
public static ServerTLSSettingsProtocol[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServerTLSSettingsProtocol c : ServerTLSSettingsProtocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerTLSSettingsProtocol valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public int value()
-
-