Package com.oracle.bmc.waf.model
Class RequestProtection.Builder
- java.lang.Object
- 
- com.oracle.bmc.waf.model.RequestProtection.Builder
 
- 
- Enclosing class:
- RequestProtection
 
 public static class RequestProtection.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestProtection.BuilderbodyInspectionSizeLimitExceededActionName(String bodyInspectionSizeLimitExceededActionName)References action by name from actions defined in WebAppFirewallPolicy.RequestProtection.BuilderbodyInspectionSizeLimitInBytes(Integer bodyInspectionSizeLimitInBytes)Maximum size of inspected HTTP message body in bytes.RequestProtectionbuild()RequestProtection.Buildercopy(RequestProtection model)RequestProtection.Builderrules(List<ProtectionRule> rules)Ordered list of ProtectionRules.
 
- 
- 
- 
Method Detail- 
rulespublic RequestProtection.Builder rules(List<ProtectionRule> rules) Ordered list of ProtectionRules.Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection Capabilities of REQUEST_PROTECTION_CAPABILITY type. - Parameters:
- rules- the value to set
- Returns:
- this builder
 
 - 
bodyInspectionSizeLimitInBytespublic RequestProtection.Builder bodyInspectionSizeLimitInBytes(Integer bodyInspectionSizeLimitInBytes) Maximum size of inspected HTTP message body in bytes.Actions to take if this limit is exceeded are defined in bodyInspectionSizeLimitExceededActionName. Body inspection maximum size allowed is defined with per-tenancy limit: 8192 bytes. - Parameters:
- bodyInspectionSizeLimitInBytes- the value to set
- Returns:
- this builder
 
 - 
bodyInspectionSizeLimitExceededActionNamepublic RequestProtection.Builder bodyInspectionSizeLimitExceededActionName(String bodyInspectionSizeLimitExceededActionName) References action by name from actions defined in WebAppFirewallPolicy.Executed if HTTP message body size exceeds limit set in field bodyInspectionSizeLimitInBytes. If this field is null HTTP message body will inspected up to bodyInspectionSizeLimitInBytes and the rest will not be inspected by Protection Capabilities. Allowed action types: * **RETURN_HTTP_RESPONSE** terminates further execution of modules and rules and returns defined HTTP response. - Parameters:
- bodyInspectionSizeLimitExceededActionName- the value to set
- Returns:
- this builder
 
 - 
buildpublic RequestProtection build() 
 - 
copypublic RequestProtection.Builder copy(RequestProtection model) 
 
- 
 
-