code: public RemediationExecutionStatus withStepDetails(RemediationExecutionStep... stepDetails) {
          if (this.stepDetails == null) {
              setStepDetails(new com.amazonaws.internal.SdkInternalList<RemediationExecutionStep>(stepDetails.length));
          }
          for (RemediationExecutionStep ele : stepDetails) {
              this.stepDetails.add(ele);
          }
          return this;
      }
docs: <p>
  Details of every step.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setStepDetails(java.util.Collection)} or {@link #withStepDetails(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param stepDetails
  Details of every step.
  @return Returns a reference to this object so that method calls can be chained together.