public static class WafConfigDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WafConfigDetails.Builder |
accessRules(List<AccessRule> accessRules)
The access rules applied to the Web Application Firewall.
|
WafConfigDetails.Builder |
addressRateLimiting(AddressRateLimiting addressRateLimiting)
The settings used to limit the number of requests from an IP address.
|
WafConfigDetails |
build() |
WafConfigDetails.Builder |
cachingRules(List<CachingRule> cachingRules)
A list of caching rules applied to the web application.
|
WafConfigDetails.Builder |
captchas(List<Captcha> captchas)
A list of CAPTCHA challenge settings.
|
WafConfigDetails.Builder |
copy(WafConfigDetails model) |
WafConfigDetails.Builder |
customProtectionRules(List<CustomProtectionRuleSetting> customProtectionRules)
A list of the custom protection rule OCIDs and their actions.
|
WafConfigDetails.Builder |
deviceFingerprintChallenge(DeviceFingerprintChallenge deviceFingerprintChallenge)
The device fingerprint challenge settings.
|
WafConfigDetails.Builder |
humanInteractionChallenge(HumanInteractionChallenge humanInteractionChallenge)
The human interaction challenge settings.
|
WafConfigDetails.Builder |
jsChallenge(JsChallenge jsChallenge)
The JavaScript challenge settings.
|
WafConfigDetails.Builder |
origin(String origin)
The key in the map of origins referencing the origin used for the Web Application
Firewall.
|
WafConfigDetails.Builder |
originGroups(List<String> originGroups)
The map of origin groups and their keys used to associate origins to the
wafConfig . |
WafConfigDetails.Builder |
protectionSettings(ProtectionSettings protectionSettings)
The settings applied to protection rules.
|
WafConfigDetails.Builder |
whitelists(List<Whitelist> whitelists)
A list of IP addresses that bypass the Web Application Firewall.
|
public WafConfigDetails.Builder accessRules(List<AccessRule> accessRules)
The access rules applied to the Web Application Firewall. Access rules allow custom
content access policies to be defined and ALLOW
, DETECT
, or BLOCK
actions to be taken on a request when specified criteria are met.
accessRules
- the value to setpublic WafConfigDetails.Builder addressRateLimiting(AddressRateLimiting addressRateLimiting)
The settings used to limit the number of requests from an IP address.
addressRateLimiting
- the value to setpublic WafConfigDetails.Builder captchas(List<Captcha> captchas)
A list of CAPTCHA challenge settings. CAPTCHAs challenge requests to ensure a human is attempting to reach the specified URL and not a bot.
captchas
- the value to setpublic WafConfigDetails.Builder deviceFingerprintChallenge(DeviceFingerprintChallenge deviceFingerprintChallenge)
The device fingerprint challenge settings. Blocks bots based on unique device fingerprint information.
deviceFingerprintChallenge
- the value to setpublic WafConfigDetails.Builder humanInteractionChallenge(HumanInteractionChallenge humanInteractionChallenge)
The human interaction challenge settings. Detects natural human interactions such as mouse movements, time on site, and page scrolling to identify bots.
humanInteractionChallenge
- the value to setpublic WafConfigDetails.Builder jsChallenge(JsChallenge jsChallenge)
The JavaScript challenge settings. Blocks bots by challenging requests from browsers that have no JavaScript support.
jsChallenge
- the value to setpublic WafConfigDetails.Builder origin(String origin)
The key in the map of origins referencing the origin used for the Web Application
Firewall. The origin must already be included in Origins
. Required when creating
the WafConfig
resource, but is not required upon updating the configuration.
origin
- the value to setpublic WafConfigDetails.Builder cachingRules(List<CachingRule> cachingRules)
A list of caching rules applied to the web application.
cachingRules
- the value to setpublic WafConfigDetails.Builder customProtectionRules(List<CustomProtectionRuleSetting> customProtectionRules)
A list of the custom protection rule OCIDs and their actions.
customProtectionRules
- the value to setpublic WafConfigDetails.Builder originGroups(List<String> originGroups)
The map of origin groups and their keys used to associate origins to the wafConfig
. Origin groups allow you to apply weights to groups of origins for load
balancing purposes. Origins with higher weights will receive larger proportions of client
requests. To add additional origins to your WAAS policy, update the origins
field
of a UpdateWaasPolicy
request.
originGroups
- the value to setpublic WafConfigDetails.Builder protectionSettings(ProtectionSettings protectionSettings)
The settings applied to protection rules.
protectionSettings
- the value to setpublic WafConfigDetails.Builder whitelists(List<Whitelist> whitelists)
A list of IP addresses that bypass the Web Application Firewall.
whitelists
- the value to setpublic WafConfigDetails build()
public WafConfigDetails.Builder copy(WafConfigDetails model)
Copyright © 2016–2024. All rights reserved.