/** * <p> * The <code>ActivatedRule</code> object specifies a <code>Rule</code> that you want to insert or delete, the * priority of the <code>Rule</code> in the <code>WebACL</code>, and the action that you want AWS WAF to take when a * web request matches the <code>Rule</code> (<code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>). * </p> * * @param activatedRule * The <code>ActivatedRule</code> object specifies a <code>Rule</code> that you want to insert or delete, the * priority of the <code>Rule</code> in the <code>WebACL</code>, and the action that you want AWS WAF to take * when a web request matches the <code>Rule</code> (<code>ALLOW</code>, <code>BLOCK</code>, or * <code>COUNT</code>). * @return Returns a reference to this object so that method calls can be chained together. */ public RuleGroupUpdate withActivatedRule(ActivatedRule activatedRule) { setActivatedRule(activatedRule); return this; }
ruleGroupUpdate.setActivatedRule(ActivatedRuleJsonUnmarshaller.getInstance().unmarshall(context));
ruleGroupUpdate.setActivatedRule(ActivatedRuleJsonUnmarshaller.getInstance().unmarshall(context));