code: public ListTagsRequest withResourceIdList(String... resourceIdList) {
          if (this.resourceIdList == null) {
              setResourceIdList(new com.amazonaws.internal.SdkInternalList<String>(resourceIdList.length));
          }
          for (String ele : resourceIdList) {
              this.resourceIdList.add(ele);
          }
          return this;
      }
docs: <p>
  Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail
  ARN is:
  </p>
  <p>
  <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setResourceIdList(java.util.Collection)} or {@link #withResourceIdList(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param resourceIdList
  Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a
  trail ARN is:</p>
  <p>
  <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
  @return Returns a reference to this object so that method calls can be chained together.