code: public AutomationExecution withStepExecutions(StepExecution... stepExecutions) {
          if (this.stepExecutions == null) {
              setStepExecutions(new com.amazonaws.internal.SdkInternalList<StepExecution>(stepExecutions.length));
          }
          for (StepExecution ele : stepExecutions) {
              this.stepExecutions.add(ele);
          }
          return this;
      }
docs: <p>
  A list of details about the current state of all steps that comprise an execution. An Automation document
  contains a list of steps that are run in order.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setStepExecutions(java.util.Collection)} or {@link #withStepExecutions(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param stepExecutions
  A list of details about the current state of all steps that comprise an execution. An Automation document
  contains a list of steps that are run in order.
  @return Returns a reference to this object so that method calls can be chained together.