Package com.oracle.bmc.waf.model
Class ProtectionCapabilitySettings.Builder
- java.lang.Object
- 
- com.oracle.bmc.waf.model.ProtectionCapabilitySettings.Builder
 
- 
- Enclosing class:
- ProtectionCapabilitySettings
 
 public static class ProtectionCapabilitySettings.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
maxNumberOfArgumentspublic ProtectionCapabilitySettings.Builder maxNumberOfArguments(Integer maxNumberOfArguments) Maximum number of arguments allowed.Used in protection capability 920380: Number of Arguments Limits. - Parameters:
- maxNumberOfArguments- the value to set
- Returns:
- this builder
 
 - 
maxSingleArgumentLengthpublic ProtectionCapabilitySettings.Builder maxSingleArgumentLength(Integer maxSingleArgumentLength) Maximum allowed length of a single argument.Used in protection capability 920370: Limit argument value length. - Parameters:
- maxSingleArgumentLength- the value to set
- Returns:
- this builder
 
 - 
maxTotalArgumentLengthpublic ProtectionCapabilitySettings.Builder maxTotalArgumentLength(Integer maxTotalArgumentLength) Maximum allowed total length of all arguments.Used in protection capability 920390: Limit arguments total length. - Parameters:
- maxTotalArgumentLength- the value to set
- Returns:
- this builder
 
 - 
maxHttpRequestHeaderspublic ProtectionCapabilitySettings.Builder maxHttpRequestHeaders(Integer maxHttpRequestHeaders) Maximum number of headers allowed in an HTTP request.Used in protection capability 9200014: Limit Number of Request Headers. - Parameters:
- maxHttpRequestHeaders- the value to set
- Returns:
- this builder
 
 - 
maxHttpRequestHeaderLengthpublic ProtectionCapabilitySettings.Builder maxHttpRequestHeaderLength(Integer maxHttpRequestHeaderLength) Maximum allowed length of headers in an HTTP request.Used in protection capability: 9200024: Limit length of request header size. - Parameters:
- maxHttpRequestHeaderLength- the value to set
- Returns:
- this builder
 
 - 
allowedHttpMethodspublic ProtectionCapabilitySettings.Builder allowedHttpMethods(List<String> allowedHttpMethods) List of allowed HTTP methods.Each value as a RFC7230 formated token string. Used in protection capability 911100: Restrict HTTP Request Methods. - Parameters:
- allowedHttpMethods- the value to set
- Returns:
- this builder
 
 - 
buildpublic ProtectionCapabilitySettings build() 
 - 
copypublic ProtectionCapabilitySettings.Builder copy(ProtectionCapabilitySettings model) 
 
- 
 
-