@Stability(value=Stable) @Internal public static final class CfnRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRuleProps
CfnRulePropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnRuleProps.Builder, CfnRuleProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnRuleProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnRuleProps.Builder. |
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(Object o) |
String |
getMetricName()
A name for the metrics for this `Rule` .
|
String |
getName()
The friendly name or description for the `Rule` .
|
Object |
getPredicates()
The `Predicates` object contains one `Predicate` element for each `ByteMatchSet` , `IPSet` , or `SqlInjectionMatchSet` object that you want to include in a `Rule` .
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnRuleProps.Builder builder)
CfnRuleProps.Builder.public final String getMetricName()
CfnRuleProps
The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the Rule .
getMetricName in interface CfnRulePropspublic final String getName()
CfnRuleProps
You can't change the name of a Rule after you create it.
getName in interface CfnRulePropspublic final Object getPredicates()
CfnRulePropsgetPredicates in interface CfnRuleProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.