code: public Cluster withPendingActions(String... pendingActions) {
          if (this.pendingActions == null) {
              setPendingActions(new com.amazonaws.internal.SdkInternalList<String>(pendingActions.length));
          }
          for (String ele : pendingActions) {
              this.pendingActions.add(ele);
          }
          return this;
      }
docs: <p>
  Cluster operations that are waiting to be started.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPendingActions(java.util.Collection)} or {@link #withPendingActions(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param pendingActions
  Cluster operations that are waiting to be started.
  @return Returns a reference to this object so that method calls can be chained together.