Package com.oracle.bmc.waas.model
Class CustomProtectionRuleSetting.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.model.CustomProtectionRuleSetting.Builder
-
- Enclosing class:
- CustomProtectionRuleSetting
public static class CustomProtectionRuleSetting.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomProtectionRuleSetting.Builderaction(CustomProtectionRuleSetting.Action action)The action to take when the custom protection rule is triggered.CustomProtectionRuleSettingbuild()CustomProtectionRuleSetting.Buildercopy(CustomProtectionRuleSetting model)CustomProtectionRuleSetting.Builderexclusions(List<ProtectionRuleExclusion> exclusions)CustomProtectionRuleSetting.Builderid(String id)The OCID of the custom protection rule.
-
-
-
Method Detail
-
id
public CustomProtectionRuleSetting.Builder id(String id)
The OCID of the custom protection rule.- Parameters:
id- the value to set- Returns:
- this builder
-
action
public CustomProtectionRuleSetting.Builder action(CustomProtectionRuleSetting.Action action)
The action to take when the custom protection rule is triggered.DETECT - Logs the request when the criteria of the custom protection rule are met. BLOCK - Blocks the request when the criteria of the custom protection rule are met.
- Parameters:
action- the value to set- Returns:
- this builder
-
exclusions
public CustomProtectionRuleSetting.Builder exclusions(List<ProtectionRuleExclusion> exclusions)
-
build
public CustomProtectionRuleSetting build()
-
copy
public CustomProtectionRuleSetting.Builder copy(CustomProtectionRuleSetting model)
-
-