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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic CustomProtectionRuleSetting.Builder id(String id) The OCID of the custom protection rule.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
actionpublic 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
 
 - 
exclusionspublic CustomProtectionRuleSetting.Builder exclusions(List<ProtectionRuleExclusion> exclusions) 
 - 
buildpublic CustomProtectionRuleSetting build() 
 - 
copypublic CustomProtectionRuleSetting.Builder copy(CustomProtectionRuleSetting model) 
 
- 
 
-