code: public void setPrefetchCount(final int prefetchCount) throws EventHubException {
          if (prefetchCount < PartitionReceiver.MINIMUM_PREFETCH_COUNT) {
              throw new IllegalArgumentException(String.format(Locale.US,
                      "PrefetchCount has to be above %s", PartitionReceiver.MINIMUM_PREFETCH_COUNT));
          }
  
          if (prefetchCount > PartitionReceiver.MAXIMUM_PREFETCH_COUNT) {
              throw new IllegalArgumentException(String.format(Locale.US,
                      "PrefetchCount has to be below %s", PartitionReceiver.MAXIMUM_PREFETCH_COUNT));
          }
  
          this.prefetchCount = prefetchCount;
      }
docs: Set the number of events that can be pre-fetched and cached at the {@link PartitionReceiver}.
  <p>By default the value is 500
  
  @param prefetchCount the number of events to pre-fetch. value must be between 1 and 2000.
  @throws EventHubException if setting prefetchCount encounters error