code: public ListStepsRequest withStepStates(String... stepStates) {
          if (this.stepStates == null) {
              setStepStates(new com.amazonaws.internal.SdkInternalList<String>(stepStates.length));
          }
          for (String ele : stepStates) {
              this.stepStates.add(ele);
          }
          return this;
      }
docs: <p>
  The filter to limit the step list based on certain states.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setStepStates(java.util.Collection)} or {@link #withStepStates(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param stepStates
  The filter to limit the step list based on certain states.
  @return Returns a reference to this object so that method calls can be chained together.
  @see StepState