@Stability(value=Stable) public static final class CfnRuleProps.Builder extends Object implements software.amazon.jsii.Builder<CfnRuleProps>
CfnRuleProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRuleProps |
build()
Builds the configured instance.
|
CfnRuleProps.Builder |
metricName(String metricName)
Sets the value of
CfnRuleProps.getMetricName() |
CfnRuleProps.Builder |
name(String name)
Sets the value of
CfnRuleProps.getName() |
CfnRuleProps.Builder |
predicates(IResolvable predicates)
Sets the value of
CfnRuleProps.getPredicates() |
CfnRuleProps.Builder |
predicates(List<? extends Object> predicates)
Sets the value of
CfnRuleProps.getPredicates() |
@Stability(value=Stable) public CfnRuleProps.Builder metricName(String metricName)
CfnRuleProps.getMetricName()metricName - `AWS::WAF::Rule.MetricName`. This parameter is required.this@Stability(value=Stable) public CfnRuleProps.Builder name(String name)
CfnRuleProps.getName()name - `AWS::WAF::Rule.Name`. This parameter is required.this@Stability(value=Stable) public CfnRuleProps.Builder predicates(IResolvable predicates)
CfnRuleProps.getPredicates()predicates - `AWS::WAF::Rule.Predicates`.this@Stability(value=Stable) public CfnRuleProps.Builder predicates(List<? extends Object> predicates)
CfnRuleProps.getPredicates()predicates - `AWS::WAF::Rule.Predicates`.this@Stability(value=Stable) public CfnRuleProps build()
build in interface software.amazon.jsii.Builder<CfnRuleProps>CfnRulePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.