Class WafConfig.Builder
- java.lang.Object
- 
- com.oracle.bmc.waas.model.WafConfig.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WafConfig.BuilderaccessRules(List<AccessRule> accessRules)The access rules applied to the Web Application Firewall.WafConfig.BuilderaddressRateLimiting(AddressRateLimiting addressRateLimiting)The IP address rate limiting settings used to limit the number of requests from an address.WafConfigbuild()WafConfig.BuildercachingRules(List<CachingRule> cachingRules)A list of caching rules applied to the web application.WafConfig.Buildercaptchas(List<Captcha> captchas)A list of CAPTCHA challenge settings.WafConfig.Buildercopy(WafConfig model)WafConfig.BuildercustomProtectionRules(List<CustomProtectionRuleSetting> customProtectionRules)A list of the custom protection rule OCIDs and their actions.WafConfig.BuilderdeviceFingerprintChallenge(DeviceFingerprintChallenge deviceFingerprintChallenge)The device fingerprint challenge settings.WafConfig.BuildergoodBots(List<GoodBot> goodBots)A list of bots allowed to access the web application.WafConfig.BuilderhumanInteractionChallenge(HumanInteractionChallenge humanInteractionChallenge)The human interaction challenge settings.WafConfig.BuilderjsChallenge(JsChallenge jsChallenge)The JavaScript challenge settings.WafConfig.Builderorigin(String origin)The key in the map of origins referencing the origin used for the Web Application Firewall.WafConfig.BuilderoriginGroups(List<String> originGroups)The map of origin groups and their keys used to associate origins to the wafConfig.WafConfig.BuilderprotectionRules(List<ProtectionRule> protectionRules)A list of the protection rules and their details.WafConfig.BuilderprotectionSettings(ProtectionSettings protectionSettings)The settings to apply to protection rules.WafConfig.BuilderthreatFeeds(List<ThreatFeed> threatFeeds)A list of threat intelligence feeds and the actions to apply to known malicious traffic based on internet intelligence.WafConfig.Builderwhitelists(List<Whitelist> whitelists)A list of IP addresses that bypass the Web Application Firewall.
 
- 
- 
- 
Method Detail- 
accessRulespublic WafConfig.Builder accessRules(List<AccessRule> accessRules) The access rules applied to the Web Application Firewall.Used for defining custom access policies with the combination of ALLOW, DETECT, and BLOCK rules, based on different criteria. - Parameters:
- accessRules- the value to set
- Returns:
- this builder
 
 - 
addressRateLimitingpublic WafConfig.Builder addressRateLimiting(AddressRateLimiting addressRateLimiting) The IP address rate limiting settings used to limit the number of requests from an address.- Parameters:
- addressRateLimiting- the value to set
- Returns:
- this builder
 
 - 
captchaspublic WafConfig.Builder captchas(List<Captcha> captchas) A list of CAPTCHA challenge settings.These are used to challenge requests with a CAPTCHA to block bots. - Parameters:
- captchas- the value to set
- Returns:
- this builder
 
 - 
deviceFingerprintChallengepublic WafConfig.Builder deviceFingerprintChallenge(DeviceFingerprintChallenge deviceFingerprintChallenge) The device fingerprint challenge settings.Used to detect unique devices based on the device fingerprint information collected in order to block bots. - Parameters:
- deviceFingerprintChallenge- the value to set
- Returns:
- this builder
 
 - 
goodBotspublic WafConfig.Builder goodBots(List<GoodBot> goodBots) A list of bots allowed to access the web application.- Parameters:
- goodBots- the value to set
- Returns:
- this builder
 
 - 
humanInteractionChallengepublic WafConfig.Builder humanInteractionChallenge(HumanInteractionChallenge humanInteractionChallenge) The human interaction challenge settings.Used to look for natural human interactions such as mouse movements, time on site, and page scrolling to identify bots. - Parameters:
- humanInteractionChallenge- the value to set
- Returns:
- this builder
 
 - 
jsChallengepublic WafConfig.Builder jsChallenge(JsChallenge jsChallenge) The JavaScript challenge settings.Used to challenge requests with a JavaScript challenge and take the action if a browser has no JavaScript support in order to block bots. - Parameters:
- jsChallenge- the value to set
- Returns:
- this builder
 
 - 
originpublic WafConfig.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 not on update. - Parameters:
- origin- the value to set
- Returns:
- this builder
 
 - 
cachingRulespublic WafConfig.Builder cachingRules(List<CachingRule> cachingRules) A list of caching rules applied to the web application.- Parameters:
- cachingRules- the value to set
- Returns:
- this builder
 
 - 
customProtectionRulespublic WafConfig.Builder customProtectionRules(List<CustomProtectionRuleSetting> customProtectionRules) A list of the custom protection rule OCIDs and their actions.- Parameters:
- customProtectionRules- the value to set
- Returns:
- this builder
 
 - 
originGroupspublic WafConfig.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. - Parameters:
- originGroups- the value to set
- Returns:
- this builder
 
 - 
protectionRulespublic WafConfig.Builder protectionRules(List<ProtectionRule> protectionRules) A list of the protection rules and their details.- Parameters:
- protectionRules- the value to set
- Returns:
- this builder
 
 - 
protectionSettingspublic WafConfig.Builder protectionSettings(ProtectionSettings protectionSettings) The settings to apply to protection rules.- Parameters:
- protectionSettings- the value to set
- Returns:
- this builder
 
 - 
threatFeedspublic WafConfig.Builder threatFeeds(List<ThreatFeed> threatFeeds) A list of threat intelligence feeds and the actions to apply to known malicious traffic based on internet intelligence.- Parameters:
- threatFeeds- the value to set
- Returns:
- this builder
 
 - 
whitelistspublic WafConfig.Builder whitelists(List<Whitelist> whitelists) A list of IP addresses that bypass the Web Application Firewall.- Parameters:
- whitelists- the value to set
- Returns:
- this builder
 
 - 
buildpublic WafConfig build() 
 - 
copypublic WafConfig.Builder copy(WafConfig model) 
 
- 
 
-