@Stability(value=Stable) public static final class CfnWebACL.ActivatedRuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebACL.ActivatedRuleProperty>
CfnWebACL.ActivatedRuleProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnWebACL.ActivatedRuleProperty.Builder |
action(CfnWebACL.WafActionProperty action)
Sets the value of
CfnWebACL.ActivatedRuleProperty.getAction() |
CfnWebACL.ActivatedRuleProperty.Builder |
action(IResolvable action)
Sets the value of
CfnWebACL.ActivatedRuleProperty.getAction() |
CfnWebACL.ActivatedRuleProperty |
build()
Builds the configured instance.
|
CfnWebACL.ActivatedRuleProperty.Builder |
priority(Number priority)
Sets the value of
CfnWebACL.ActivatedRuleProperty.getPriority() |
CfnWebACL.ActivatedRuleProperty.Builder |
ruleId(String ruleId)
Sets the value of
CfnWebACL.ActivatedRuleProperty.getRuleId() |
@Stability(value=Stable) public CfnWebACL.ActivatedRuleProperty.Builder priority(Number priority)
CfnWebACL.ActivatedRuleProperty.getPriority()
priority
- `CfnWebACL.ActivatedRuleProperty.Priority`. This parameter is required.this
@Stability(value=Stable) public CfnWebACL.ActivatedRuleProperty.Builder ruleId(String ruleId)
CfnWebACL.ActivatedRuleProperty.getRuleId()
ruleId
- `CfnWebACL.ActivatedRuleProperty.RuleId`. This parameter is required.this
@Stability(value=Stable) public CfnWebACL.ActivatedRuleProperty.Builder action(CfnWebACL.WafActionProperty action)
CfnWebACL.ActivatedRuleProperty.getAction()
action
- `CfnWebACL.ActivatedRuleProperty.Action`.this
@Stability(value=Stable) public CfnWebACL.ActivatedRuleProperty.Builder action(IResolvable action)
CfnWebACL.ActivatedRuleProperty.getAction()
action
- `CfnWebACL.ActivatedRuleProperty.Action`.this
@Stability(value=Stable) public CfnWebACL.ActivatedRuleProperty build()
build
in interface software.amazon.jsii.Builder<CfnWebACL.ActivatedRuleProperty>
CfnWebACL.ActivatedRuleProperty
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.