@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:33.872Z") public enum ConnectionProtocol extends java.lang.Enum<ConnectionProtocol>
Modifier and Type | Method and Description |
---|---|
static ConnectionProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionProtocol TCP
public static final ConnectionProtocol UDP
public static ConnectionProtocol[] values()
for (ConnectionProtocol c : ConnectionProtocol.values()) System.out.println(c);
public static ConnectionProtocol valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null