code: public StepExecution withValidNextSteps(String... validNextSteps) {
          if (this.validNextSteps == null) {
              setValidNextSteps(new com.amazonaws.internal.SdkInternalList<String>(validNextSteps.length));
          }
          for (String ele : validNextSteps) {
              this.validNextSteps.add(ele);
          }
          return this;
      }
docs: <p>
  Strategies used when step fails, we support Continue and Abort. Abort will fail the automation when the step
  fails. Continue will ignore the failure of current step and allow automation to run the next step. With
  conditional branching, we add step:stepName to support the automation to go to another specific step.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setValidNextSteps(java.util.Collection)} or {@link #withValidNextSteps(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param validNextSteps
  Strategies used when step fails, we support Continue and Abort. Abort will fail the automation when the
  step fails. Continue will ignore the failure of current step and allow automation to run the next step.
  With conditional branching, we add step:stepName to support the automation to go to another specific step.
  @return Returns a reference to this object so that method calls can be chained together.