public ListTemplatesRequest withStatus(TemplateStatus... status) {
        java.util.ArrayList<String> statusCopy = new java.util.ArrayList<String>(status.length);
        for (TemplateStatus value : status) {
            statusCopy.add(value.toString());
        }
        if (getStatus() == null) {
            setStatus(statusCopy);
        } else {
            getStatus().addAll(statusCopy);
        }
        return this;
    }
<p>
A list of status values to filter on.
</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