code: public Builder getBulkProcessorBuilder(Listener bulkProcessorListener,
              Integer bulkActions, ByteSizeValue byteSizeValue,
              TimeValue flushInterval, Integer concurrentRequests,
              BackoffPolicy backoffPolicy) {
          Builder builder =
                  BulkProcessor.builder(jmESClient, bulkProcessorListener);
          ifNotNull(bulkActions, builder::setBulkActions);
          ifNotNull(byteSizeValue, builder::setBulkSize);
          ifNotNull(flushInterval, builder::setFlushInterval);
          ifNotNull(concurrentRequests, builder::setConcurrentRequests);
          ifNotNull(backoffPolicy, builder::setBackoffPolicy);
          return builder;
      }
docs: Gets bulk processor builder.
  
  @param bulkProcessorListener the bulk processor listener
  @param bulkActions           the bulk actions
  @param byteSizeValue         the byte size value
  @param flushInterval         the flush interval
  @param concurrentRequests    the concurrent requests
  @param backoffPolicy         the backoff policy
  @return the bulk processor builder