code: public void setEvents(java.util.Collection<VolumeStatusEvent> events) {
          if (events == null) {
              this.events = null;
              return;
          }
  
          this.events = new com.amazonaws.internal.SdkInternalList<VolumeStatusEvent>(events);
      }
docs: <p>
  A list of events associated with the volume.
  </p>
  
  @param events
  A list of events associated with the volume.