code: public DescribeStackEventsResult withStackEvents(StackEvent... stackEvents) {
          if (this.stackEvents == null) {
              setStackEvents(new com.amazonaws.internal.SdkInternalList<StackEvent>(stackEvents.length));
          }
          for (StackEvent ele : stackEvents) {
              this.stackEvents.add(ele);
          }
          return this;
      }
docs: <p>
  A list of <code>StackEvents</code> structures.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setStackEvents(java.util.Collection)} or {@link #withStackEvents(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param stackEvents
  A list of <code>StackEvents</code> structures.
  @return Returns a reference to this object so that method calls can be chained together.