class_docstr: Base builder to construct a ElasticsearchSink.
class_docstr_tok: ["Base","builder","to","construct","a","ElasticsearchSink","."]
docstr: Sets the maximum size of buffered actions, in mb, per bulk request. You can pass -1 to
  disable it.
code: def set_bulk_flush_max_size_mb(
      self, max_size_mb: int
  ) -> "ElasticsearchSinkBuilderBase":
      """
      Sets the maximum size of buffered actions, in mb, per bulk request. You can pass -1 to
      disable it.
      """
      self._j_elasticsearch_sink_builder.setBulkFlushMaxSizeMb(
          max_size_mb
      )
      return self
  
imports: import abc
  from enum import Enum
  from typing import List, Union
  from pyflink.datastream.connectors import Sink, DeliveryGuarantee
  from pyflink.java_gateway import get_gateway
  from pyflink.util.java_utils import to_jarray
label_desc: Use image node_id 7 for calling the ElasticsearchSinkBuilderBase obj's underlying member method code with example usage: obj.set_bulk_flush_max_size_mb(max_size_mb) and returns: self