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