public static enum AddDrgRouteRuleDetails.DestinationType extends Enum<AddDrgRouteRuleDetails.DestinationType> implements BmcEnum
Type of destination for the rule. Allowed values: * CIDR_BLOCK
: If the rule’s destination
is an IP address range in CIDR notation.
Enum Constant and Description |
---|
CidrBlock |
Modifier and Type | Method and Description |
---|---|
static AddDrgRouteRuleDetails.DestinationType |
create(String key) |
String |
getValue() |
static AddDrgRouteRuleDetails.DestinationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddDrgRouteRuleDetails.DestinationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddDrgRouteRuleDetails.DestinationType CidrBlock
public static AddDrgRouteRuleDetails.DestinationType[] values()
for (AddDrgRouteRuleDetails.DestinationType c : AddDrgRouteRuleDetails.DestinationType.values()) System.out.println(c);
public static AddDrgRouteRuleDetails.DestinationType 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 AddDrgRouteRuleDetails.DestinationType create(String key)
Copyright © 2016–2024. All rights reserved.