code: 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;
      }
docs: <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