@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:33.872Z") public enum ClientAffinity extends java.lang.Enum<ClientAffinity>
Enum Constant and Description |
---|
NONE
Route traffic based on the 5-tuple `(source IP, source port, destination IP, destination port, protocol)`.
|
SOURCE_IP
Route traffic based on the 2-tuple `(source IP, destination IP)`.
|
Modifier and Type | Method and Description |
---|---|
static ClientAffinity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientAffinity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientAffinity NONE
public static final ClientAffinity SOURCE_IP
The result is that multiple connections from the same client will be routed the same.
public static ClientAffinity[] values()
for (ClientAffinity c : ClientAffinity.values()) System.out.println(c);
public static ClientAffinity 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