code: public UpdateTagsForResourceRequest withTagsToAdd(Tag... tagsToAdd) {
          if (this.tagsToAdd == null) {
              setTagsToAdd(new com.amazonaws.internal.SdkInternalList<Tag>(tagsToAdd.length));
          }
          for (Tag ele : tagsToAdd) {
              this.tagsToAdd.add(ele);
          }
          return this;
      }
docs: <p>
  A list of tags to add or update.
  </p>
  <p>
  If a key of an existing tag is added, the tag's value is updated.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTagsToAdd(java.util.Collection)} or {@link #withTagsToAdd(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param tagsToAdd
  A list of tags to add or update.</p>
  <p>
  If a key of an existing tag is added, the tag's value is updated.
  @return Returns a reference to this object so that method calls can be chained together.