public EntityFilter withStatusCodes(java.util.Collection<String> statusCodes) {
        setStatusCodes(statusCodes);
        return this;
    }
<p>
A list of entity status codes (<code>IMPAIRED</code>, <code>UNIMPAIRED</code>, or <code>UNKNOWN</code>).
</p>

@param statusCodes
       A list of entity status codes (<code>IMPAIRED</code>, <code>UNIMPAIRED</code>, or <code>UNKNOWN</code>).
@return Returns a reference to this object so that method calls can be chained together.
@see EntityStatusCode
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/EntityFilter.java