code: public ListDetectorsResult withDetectorIds(String... detectorIds) {
          if (this.detectorIds == null) {
              setDetectorIds(new java.util.ArrayList<String>(detectorIds.length));
          }
          for (String ele : detectorIds) {
              this.detectorIds.add(ele);
          }
          return this;
      }
docs: <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDetectorIds(java.util.Collection)} or {@link #withDetectorIds(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param detectorIds
  @return Returns a reference to this object so that method calls can be chained together.