public DescribeJobFlowsRequest withJobFlowStates(JobFlowExecutionState... jobFlowStates) {
        com.amazonaws.internal.SdkInternalList<String> jobFlowStatesCopy = new com.amazonaws.internal.SdkInternalList<String>(jobFlowStates.length);
        for (JobFlowExecutionState value : jobFlowStates) {
            jobFlowStatesCopy.add(value.toString());
        }
        if (getJobFlowStates() == null) {
            setJobFlowStates(jobFlowStatesCopy);
        } else {
            getJobFlowStates().addAll(jobFlowStatesCopy);
        }
        return this;
    }
<p>
Return only job flows whose state is contained in this list.
</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