public ListTemplatesRequest withStatus(String... status) {
        if (this.status == null) {
            setStatus(new java.util.ArrayList<String>(status.length));
        }
        for (String ele : status) {
            this.status.add(ele);
        }
        return this;
    }
<p>
A list of status values to filter on.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStatus(java.util.Collection)} or {@link #withStatus(java.util.Collection)} if you want to override the
existing values.
</p>

@param status
       A list of status values to filter on.
@return Returns a reference to this object so that method calls can be chained together.
@see TemplateStatus
aws-java-sdk-connectcases/src/main/java/com/amazonaws/services/connectcases/model/ListTemplatesRequest.java