class_docstr: Base builder to construct a ElasticsearchSink.
class_docstr_tok: ["Base","builder","to","construct","a","ElasticsearchSink","."]
docstr: Sets the wanted DeliveryGuarantee. The default delivery guarantee is DeliveryGuarantee#NONE
code: def set_delivery_guarantee(
      self, delivery_guarantee: DeliveryGuarantee
  ) -> "ElasticsearchSinkBuilderBase":
      """
      Sets the wanted DeliveryGuarantee. The default delivery guarantee is DeliveryGuarantee#NONE
      """
      j_delivery_guarantee = (
          delivery_guarantee._to_j_delivery_guarantee()
      )
      self._j_elasticsearch_sink_builder.setDeliveryGuarantee(
          j_delivery_guarantee
      )
      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 5 for calling the ElasticsearchSinkBuilderBase obj's underlying member method code with example usage: obj.set_delivery_guarantee(delivery_guarantee) and returns: self