code: public ListDeviceEventsResult withDeviceEvents(DeviceEvent... deviceEvents) {
          if (this.deviceEvents == null) {
              setDeviceEvents(new java.util.ArrayList<DeviceEvent>(deviceEvents.length));
          }
          for (DeviceEvent ele : deviceEvents) {
              this.deviceEvents.add(ele);
          }
          return this;
      }
docs: <p>
  The device events requested for the device ARN.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDeviceEvents(java.util.Collection)} or {@link #withDeviceEvents(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param deviceEvents
  The device events requested for the device ARN.
  @return Returns a reference to this object so that method calls can be chained together.