code: public GetInstanceSnapshotsResult withInstanceSnapshots(InstanceSnapshot... instanceSnapshots) {
          if (this.instanceSnapshots == null) {
              setInstanceSnapshots(new java.util.ArrayList<InstanceSnapshot>(instanceSnapshots.length));
          }
          for (InstanceSnapshot ele : instanceSnapshots) {
              this.instanceSnapshots.add(ele);
          }
          return this;
      }
docs: <p>
  An array of key-value pairs containing information about the results of your get instance snapshots request.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setInstanceSnapshots(java.util.Collection)} or {@link #withInstanceSnapshots(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param instanceSnapshots
  An array of key-value pairs containing information about the results of your get instance snapshots
  request.
  @return Returns a reference to this object so that method calls can be chained together.