Class WafRuleGroupActivatedRule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.waf_rule_group.WafRuleGroupActivatedRule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<WafRuleGroupActivatedRule>
- Enclosing interface:
- WafRuleGroupActivatedRule
@Stability(Stable) public static final class WafRuleGroupActivatedRule.Builder extends Object implements software.amazon.jsii.Builder<WafRuleGroupActivatedRule>
A builder forWafRuleGroupActivatedRule
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WafRuleGroupActivatedRule.Builderaction(WafRuleGroupActivatedRuleAction action)Sets the value ofWafRuleGroupActivatedRule.getAction()WafRuleGroupActivatedRulebuild()Builds the configured instance.WafRuleGroupActivatedRule.Builderpriority(Number priority)Sets the value ofWafRuleGroupActivatedRule.getPriority()WafRuleGroupActivatedRule.BuilderruleId(String ruleId)Sets the value ofWafRuleGroupActivatedRule.getRuleId()WafRuleGroupActivatedRule.Buildertype(String type)Sets the value ofWafRuleGroupActivatedRule.getType()
-
-
-
Method Detail
-
action
@Stability(Stable) public WafRuleGroupActivatedRule.Builder action(WafRuleGroupActivatedRuleAction action)
Sets the value ofWafRuleGroupActivatedRule.getAction()- Parameters:
action- action block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/waf_rule_group#action WafRuleGroup#action}- Returns:
this
-
priority
@Stability(Stable) public WafRuleGroupActivatedRule.Builder priority(Number priority)
Sets the value ofWafRuleGroupActivatedRule.getPriority()- Parameters:
priority- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/waf_rule_group#priority WafRuleGroup#priority}. This parameter is required.- Returns:
this
-
ruleId
@Stability(Stable) public WafRuleGroupActivatedRule.Builder ruleId(String ruleId)
Sets the value ofWafRuleGroupActivatedRule.getRuleId()- Parameters:
ruleId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/waf_rule_group#rule_id WafRuleGroup#rule_id}. This parameter is required.- Returns:
this
-
type
@Stability(Stable) public WafRuleGroupActivatedRule.Builder type(String type)
Sets the value ofWafRuleGroupActivatedRule.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/waf_rule_group#type WafRuleGroup#type}.- Returns:
this
-
build
@Stability(Stable) public WafRuleGroupActivatedRule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WafRuleGroupActivatedRule>- Returns:
- a new instance of
WafRuleGroupActivatedRule - Throws:
NullPointerException- if any required attribute was not provided
-
-