Package com.oracle.bmc.waf.model
Class ProtectionRule.Builder
- java.lang.Object
- 
- com.oracle.bmc.waf.model.ProtectionRule.Builder
 
- 
- Enclosing class:
- ProtectionRule
 
 public static class ProtectionRule.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtectionRule.BuilderactionName(String actionName)ProtectionRulebuild()ProtectionRule.Buildercondition(String condition)ProtectionRule.BuilderconditionLanguage(WebAppFirewallPolicyRule.ConditionLanguage conditionLanguage)ProtectionRule.Buildercopy(ProtectionRule model)ProtectionRule.BuilderisBodyInspectionEnabled(Boolean isBodyInspectionEnabled)Enables/disables body inspection for this protection rule.ProtectionRule.Buildername(String name)ProtectionRule.BuilderprotectionCapabilities(List<ProtectionCapability> protectionCapabilities)An ordered list that references OCI-managed protection capabilities.ProtectionRule.BuilderprotectionCapabilitySettings(ProtectionCapabilitySettings protectionCapabilitySettings)
 
- 
- 
- 
Method Detail- 
namepublic ProtectionRule.Builder name(String name) 
 - 
conditionLanguagepublic ProtectionRule.Builder conditionLanguage(WebAppFirewallPolicyRule.ConditionLanguage conditionLanguage) 
 - 
conditionpublic ProtectionRule.Builder condition(String condition) 
 - 
actionNamepublic ProtectionRule.Builder actionName(String actionName) 
 - 
protectionCapabilitiespublic ProtectionRule.Builder protectionCapabilities(List<ProtectionCapability> protectionCapabilities) An ordered list that references OCI-managed protection capabilities.Referenced protection capabilities are not necessarily executed in order of appearance. Their execution order is decided at runtime for improved performance. The array cannot contain entries with the same pair of capability key and version more than once. - Parameters:
- protectionCapabilities- the value to set
- Returns:
- this builder
 
 - 
protectionCapabilitySettingspublic ProtectionRule.Builder protectionCapabilitySettings(ProtectionCapabilitySettings protectionCapabilitySettings) 
 - 
isBodyInspectionEnabledpublic ProtectionRule.Builder isBodyInspectionEnabled(Boolean isBodyInspectionEnabled) Enables/disables body inspection for this protection rule.Only Protection Rules in RequestProtection can have this option enabled. Response body inspection will be available at a later date. - Parameters:
- isBodyInspectionEnabled- the value to set
- Returns:
- this builder
 
 - 
buildpublic ProtectionRule build() 
 - 
copypublic ProtectionRule.Builder copy(ProtectionRule model) 
 
- 
 
-