Enum NetQosPolicyBandwidthLimitRule.Direction
- java.lang.Object
-
- java.lang.Enum<NetQosPolicyBandwidthLimitRule.Direction>
-
- org.openstack4j.model.network.ext.NetQosPolicyBandwidthLimitRule.Direction
-
- All Implemented Interfaces:
Serializable,Comparable<NetQosPolicyBandwidthLimitRule.Direction>
- Enclosing interface:
- NetQosPolicyBandwidthLimitRule
public static enum NetQosPolicyBandwidthLimitRule.Direction extends Enum<NetQosPolicyBandwidthLimitRule.Direction>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NetQosPolicyBandwidthLimitRule.DirectionforValues(String direction)static NetQosPolicyBandwidthLimitRule.DirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static NetQosPolicyBandwidthLimitRule.Direction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ingress
public static final NetQosPolicyBandwidthLimitRule.Direction ingress
-
egress
public static final NetQosPolicyBandwidthLimitRule.Direction egress
-
-
Method Detail
-
values
public static NetQosPolicyBandwidthLimitRule.Direction[] 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 (NetQosPolicyBandwidthLimitRule.Direction c : NetQosPolicyBandwidthLimitRule.Direction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetQosPolicyBandwidthLimitRule.Direction 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
-
forValues
public static NetQosPolicyBandwidthLimitRule.Direction forValues(@Nullable String direction)
- Parameters:
direction- nullable direction- Returns:
- Direction
- See Also:
- jackson-serialize-enums
-
-