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

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