code: public void setDeviceInstances(java.util.Collection<DeviceInstance> deviceInstances) {
          if (deviceInstances == null) {
              this.deviceInstances = null;
              return;
          }
  
          this.deviceInstances = new java.util.ArrayList<DeviceInstance>(deviceInstances);
      }
docs: <p>
  An object containing information about your device instances.
  </p>
  
  @param deviceInstances
  An object containing information about your device instances.