@Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public final class WafConfigDetails extends Object
The Web Application Firewall configuration for the WAAS policy creation.
Note: Objects should always be created or deserialized using the WafConfigDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the WafConfigDetails.Builder, which maintain a set of all explicitly set fields called __explicitlySet__. The hashCode() and equals(Object) methods are implemented to take __explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__ (since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
WafConfigDetails.Builder |
| Constructor and Description |
|---|
WafConfigDetails(List<AccessRule> accessRules,
AddressRateLimiting addressRateLimiting,
List<Captcha> captchas,
DeviceFingerprintChallenge deviceFingerprintChallenge,
HumanInteractionChallenge humanInteractionChallenge,
JsChallenge jsChallenge,
String origin,
List<CachingRule> cachingRules,
List<CustomProtectionRuleSetting> customProtectionRules,
List<String> originGroups,
ProtectionSettings protectionSettings,
List<Whitelist> whitelists)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static WafConfigDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<AccessRule> |
getAccessRules()
The access rules applied to the Web Application Firewall.
|
AddressRateLimiting |
getAddressRateLimiting()
The settings used to limit the number of requests from an IP address.
|
List<CachingRule> |
getCachingRules()
A list of caching rules applied to the web application.
|
List<Captcha> |
getCaptchas()
A list of CAPTCHA challenge settings.
|
List<CustomProtectionRuleSetting> |
getCustomProtectionRules()
A list of the custom protection rule OCIDs and their actions.
|
DeviceFingerprintChallenge |
getDeviceFingerprintChallenge()
The device fingerprint challenge settings.
|
HumanInteractionChallenge |
getHumanInteractionChallenge()
The human interaction challenge settings.
|
JsChallenge |
getJsChallenge()
The JavaScript challenge settings.
|
String |
getOrigin()
The key in the map of origins referencing the origin used for the Web Application Firewall.
|
List<String> |
getOriginGroups()
The list of origin group references that provide support for additional origin servers.
|
ProtectionSettings |
getProtectionSettings()
The settings applied to protection rules.
|
List<Whitelist> |
getWhitelists()
A list of IP addresses that bypass the Web Application Firewall.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"accessRules","addressRateLimiting","captchas","deviceFingerprintChallenge","humanInteractionChallenge","jsChallenge","origin","cachingRules","customProtectionRules","originGroups","protectionSettings","whitelists"}) @Deprecated public WafConfigDetails(List<AccessRule> accessRules, AddressRateLimiting addressRateLimiting, List<Captcha> captchas, DeviceFingerprintChallenge deviceFingerprintChallenge, HumanInteractionChallenge humanInteractionChallenge, JsChallenge jsChallenge, String origin, List<CachingRule> cachingRules, List<CustomProtectionRuleSetting> customProtectionRules, List<String> originGroups, ProtectionSettings protectionSettings, List<Whitelist> whitelists)
public static WafConfigDetails.Builder builder()
Create a new builder.
public List<AccessRule> getAccessRules()
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.
public AddressRateLimiting getAddressRateLimiting()
The settings used to limit the number of requests from an IP address.
public List<Captcha> getCaptchas()
A list of CAPTCHA challenge settings. CAPTCHAs challenge requests to ensure a human is attempting to reach the specified URL and not a bot.
public DeviceFingerprintChallenge getDeviceFingerprintChallenge()
The device fingerprint challenge settings. Blocks bots based on unique device fingerprint information.
public HumanInteractionChallenge getHumanInteractionChallenge()
The human interaction challenge settings. Detects natural human interactions such as mouse movements, time on site, and page scrolling to identify bots.
public JsChallenge getJsChallenge()
The JavaScript challenge settings. Blocks bots by challenging requests from browsers that have no JavaScript support.
public String getOrigin()
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.
public List<CachingRule> getCachingRules()
A list of caching rules applied to the web application.
public List<CustomProtectionRuleSetting> getCustomProtectionRules()
A list of the custom protection rule OCIDs and their actions.
public List<String> getOriginGroups()
The list of origin group references that provide support for additional origin servers. A list of combined unique origin servers from origin and originGroups will be used.
public ProtectionSettings getProtectionSettings()
The settings applied to protection rules.
public List<Whitelist> getWhitelists()
A list of IP addresses that bypass the Web Application Firewall.
Copyright © 2016–2019. All rights reserved.