code: public ShareDetails withSuccessfulShares(String... successfulShares) {
          if (this.successfulShares == null) {
              setSuccessfulShares(new java.util.ArrayList<String>(successfulShares.length));
          }
          for (String ele : successfulShares) {
              this.successfulShares.add(ele);
          }
          return this;
      }
docs: <p>
  List of accounts for whom the operation succeeded.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSuccessfulShares(java.util.Collection)} or {@link #withSuccessfulShares(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param successfulShares
  List of accounts for whom the operation succeeded.
  @return Returns a reference to this object so that method calls can be chained together.