code: public ListDeviceInstancesResult withDeviceInstances(DeviceInstance... deviceInstances) {
          if (this.deviceInstances == null) {
              setDeviceInstances(new java.util.ArrayList<DeviceInstance>(deviceInstances.length));
          }
          for (DeviceInstance ele : deviceInstances) {
              this.deviceInstances.add(ele);
          }
          return this;
      }
docs: <p>
  An object containing information about your device instances.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDeviceInstances(java.util.Collection)} or {@link #withDeviceInstances(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param deviceInstances
  An object containing information about your device instances.
  @return Returns a reference to this object so that method calls can be chained together.