code: public void setToAddresses(java.util.Collection<String> toAddresses) {
          if (toAddresses == null) {
              this.toAddresses = null;
              return;
          }
  
          this.toAddresses = new com.amazonaws.internal.SdkInternalList<String>(toAddresses);
      }
docs: <p>
  The To: field(s) of the message.
  </p>
  
  @param toAddresses
  The To: field(s) of the message.