code: public UpdateTagsForDomainRequest withTagsToUpdate(Tag... tagsToUpdate) {
          if (this.tagsToUpdate == null) {
              setTagsToUpdate(new com.amazonaws.internal.SdkInternalList<Tag>(tagsToUpdate.length));
          }
          for (Tag ele : tagsToUpdate) {
              this.tagsToUpdate.add(ele);
          }
          return this;
      }
docs: <p>
  A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the
  corresponding value will be replaced.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTagsToUpdate(java.util.Collection)} or {@link #withTagsToUpdate(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param tagsToUpdate
  A list of the tag keys and values that you want to add or update. If you specify a key that already
  exists, the corresponding value will be replaced.
  @return Returns a reference to this object so that method calls can be chained together.