public RuleSummary withRuleId(String ruleId) {
        setRuleId(ruleId);
        return this;
    }
<p>
A unique identifier for a <code>Rule</code>. You use <code>RuleId</code> to get more information about a
<code>Rule</code> (see <a>GetRule</a>), update a <code>Rule</code> (see <a>UpdateRule</a>), insert a
<code>Rule</code> into a <code>WebACL</code> or delete one from a <code>WebACL</code> (see <a>UpdateWebACL</a>),
or delete a <code>Rule</code> from AWS WAF (see <a>DeleteRule</a>).
</p>
<p>
<code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.
</p>

@param ruleId
       A unique identifier for a <code>Rule</code>. You use <code>RuleId</code> to get more information about a
       <code>Rule</code> (see <a>GetRule</a>), update a <code>Rule</code> (see <a>UpdateRule</a>), insert a
       <code>Rule</code> into a <code>WebACL</code> or delete one from a <code>WebACL</code> (see
       <a>UpdateWebACL</a>), or delete a <code>Rule</code> from AWS WAF (see <a>DeleteRule</a>).</p>
       <p>
       <code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/RuleSummary.java