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