public static enum ProtectionRuleAction.Action extends Enum<ProtectionRuleAction.Action> implements BmcEnum
The action to apply to the protection rule. If unspecified, defaults to OFF
.
Modifier and Type | Method and Description |
---|---|
static ProtectionRuleAction.Action |
create(String key) |
String |
getValue() |
static ProtectionRuleAction.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtectionRuleAction.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtectionRuleAction.Action Off
public static final ProtectionRuleAction.Action Detect
public static final ProtectionRuleAction.Action Block
public static ProtectionRuleAction.Action[] values()
for (ProtectionRuleAction.Action c : ProtectionRuleAction.Action.values()) System.out.println(c);
public static ProtectionRuleAction.Action 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 ProtectionRuleAction.Action create(String key)
Copyright © 2016–2024. All rights reserved.