public ListAssetsRequest withStatusFilter(String... statusFilter) {
        if (this.statusFilter == null) {
            setStatusFilter(new java.util.ArrayList<String>(statusFilter.length));
        }
        for (String ele : statusFilter) {
            this.statusFilter.add(ele);
        }
        return this;
    }
<p>
Filters the results by state.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStatusFilter(java.util.Collection)} or {@link #withStatusFilter(java.util.Collection)} if you want to
override the existing values.
</p>

@param statusFilter
       Filters the results by state.
@return Returns a reference to this object so that method calls can be chained together.
@see AssetState
aws-java-sdk-outposts/src/main/java/com/amazonaws/services/outposts/model/ListAssetsRequest.java