public DescribeJobFlowsRequest withJobFlowStates(String... jobFlowStates) {
        if (this.jobFlowStates == null) {
            setJobFlowStates(new com.amazonaws.internal.SdkInternalList<String>(jobFlowStates.length));
        }
        for (String ele : jobFlowStates) {
            this.jobFlowStates.add(ele);
        }
        return this;
    }
<p>
Return only job flows whose state is contained in this list.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setJobFlowStates(java.util.Collection)} or {@link #withJobFlowStates(java.util.Collection)} if you want
to override the existing values.
</p>

@param jobFlowStates
       Return only job flows whose state is contained in this list.
@return Returns a reference to this object so that method calls can be chained together.
@see JobFlowExecutionState
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/DescribeJobFlowsRequest.java