public static enum ListNetworkSecurityGroupSecurityRulesRequest.Direction extends Enum<ListNetworkSecurityGroupSecurityRulesRequest.Direction>
Direction of the security rule. Set to EGRESS for rules that allow outbound IP packets,
or INGRESS for rules that allow inbound IP packets.
| Modifier and Type | Method and Description |
|---|---|
static ListNetworkSecurityGroupSecurityRulesRequest.Direction |
create(String key) |
String |
getValue() |
static ListNetworkSecurityGroupSecurityRulesRequest.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListNetworkSecurityGroupSecurityRulesRequest.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListNetworkSecurityGroupSecurityRulesRequest.Direction Egress
public static final ListNetworkSecurityGroupSecurityRulesRequest.Direction Ingress
public static ListNetworkSecurityGroupSecurityRulesRequest.Direction[] values()
for (ListNetworkSecurityGroupSecurityRulesRequest.Direction c : ListNetworkSecurityGroupSecurityRulesRequest.Direction.values()) System.out.println(c);
public static ListNetworkSecurityGroupSecurityRulesRequest.Direction 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 String getValue()
public static ListNetworkSecurityGroupSecurityRulesRequest.Direction create(String key)
Copyright © 2016–2021. All rights reserved.