public static final class CfnWebACL.VisibilityConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACL.VisibilityConfigProperty
CfnWebACL.VisibilityConfigProperty
CfnWebACL.VisibilityConfigProperty.Builder, CfnWebACL.VisibilityConfigProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getCloudWatchMetricsEnabled()
A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch.
|
java.lang.String |
getMetricName()
A name of the Amazon CloudWatch metric dimension.
|
java.lang.Object |
getSampledRequestsEnabled()
A boolean indicating whether AWS WAF should store a sampling of the web requests that match the rules.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Object getCloudWatchMetricsEnabled()
CfnWebACL.VisibilityConfigProperty
For the list of available metrics, see AWS WAF Metrics .
getCloudWatchMetricsEnabled
in interface CfnWebACL.VisibilityConfigProperty
public final java.lang.String getMetricName()
CfnWebACL.VisibilityConfigProperty
The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names that are reserved for AWS WAF , for example All
and Default_Action
.
getMetricName
in interface CfnWebACL.VisibilityConfigProperty
public final java.lang.Object getSampledRequestsEnabled()
CfnWebACL.VisibilityConfigProperty
You can view the sampled requests through the AWS WAF console.
getSampledRequestsEnabled
in interface CfnWebACL.VisibilityConfigProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()