public enum ExternalTrafficPolicy extends Enum<ExternalTrafficPolicy>
| Modifier and Type | Method and Description |
|---|---|
static ExternalTrafficPolicy |
forValue(String value) |
String |
toValue() |
static ExternalTrafficPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExternalTrafficPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalTrafficPolicy LOCAL
public static final ExternalTrafficPolicy CLUSTER
public static ExternalTrafficPolicy[] values()
for (ExternalTrafficPolicy c : ExternalTrafficPolicy.values()) System.out.println(c);
public static ExternalTrafficPolicy 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 nullpublic static ExternalTrafficPolicy forValue(String value)
public String toValue()
Copyright © 2020. All rights reserved.