code: public ListTopicsResult withTopics(Topic... topics) {
          if (this.topics == null) {
              setTopics(new com.amazonaws.internal.SdkInternalList<Topic>(topics.length));
          }
          for (Topic ele : topics) {
              this.topics.add(ele);
          }
          return this;
      }
docs: <p>
  A list of topic ARNs.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTopics(java.util.Collection)} or {@link #withTopics(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param topics
  A list of topic ARNs.
  @return Returns a reference to this object so that method calls can be chained together.