public ListAssetsRequest withStatusFilter(AssetState... statusFilter) {
        java.util.ArrayList<String> statusFilterCopy = new java.util.ArrayList<String>(statusFilter.length);
        for (AssetState value : statusFilter) {
            statusFilterCopy.add(value.toString());
        }
        if (getStatusFilter() == null) {
            setStatusFilter(statusFilterCopy);
        } else {
            getStatusFilter().addAll(statusFilterCopy);
        }
        return this;
    }
<p>
Filters the results by state.
</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