code: public Destination withToAddresses(String... toAddresses) {
          if (this.toAddresses == null) {
              setToAddresses(new com.amazonaws.internal.SdkInternalList<String>(toAddresses.length));
          }
          for (String ele : toAddresses) {
              this.toAddresses.add(ele);
          }
          return this;
      }
docs: <p>
  The To: field(s) of the message.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setToAddresses(java.util.Collection)} or {@link #withToAddresses(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param toAddresses
  The To: field(s) of the message.
  @return Returns a reference to this object so that method calls can be chained together.