public Rule withName(String name) {
        setName(name);
        return this;
    }
<p>
The friendly name or description for the <code>Rule</code>. You can't change the name of a <code>Rule</code>
after you create it.
</p>

@param name
       The friendly name or description for the <code>Rule</code>. You can't change the name of a
       <code>Rule</code> after you create it.
@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/Rule.java