Package com.oracle.bmc.waas.model
Class ProtectionRuleAction.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.model.ProtectionRuleAction.Builder
-
- Enclosing class:
- ProtectionRuleAction
public static class ProtectionRuleAction.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtectionRuleAction.Builder
action(ProtectionRuleAction.Action action)
The action to apply to the protection rule.ProtectionRuleAction
build()
ProtectionRuleAction.Builder
copy(ProtectionRuleAction model)
ProtectionRuleAction.Builder
exclusions(List<ProtectionRuleExclusion> exclusions)
The types of requests excluded from the protection rule action.ProtectionRuleAction.Builder
key(String key)
The unique key of the protection rule.
-
-
-
Method Detail
-
key
public ProtectionRuleAction.Builder key(String key)
The unique key of the protection rule.- Parameters:
key
- the value to set- Returns:
- this builder
-
action
public ProtectionRuleAction.Builder action(ProtectionRuleAction.Action action)
The action to apply to the protection rule.If unspecified, defaults to OFF.
- Parameters:
action
- the value to set- Returns:
- this builder
-
exclusions
public ProtectionRuleAction.Builder exclusions(List<ProtectionRuleExclusion> exclusions)
The types of requests excluded from the protection rule action.If the requests matches the criteria in the exclusions, the protection rule action will not be executed.
- Parameters:
exclusions
- the value to set- Returns:
- this builder
-
build
public ProtectionRuleAction build()
-
copy
public ProtectionRuleAction.Builder copy(ProtectionRuleAction model)
-
-