class_docstr: Defines all parameters that initialize a table environment. Those parameters are used only
  during instantiation of a :class:`~pyflink.table.TableEnvironment` and cannot be changed
  afterwards.
  
  Example:
  ::
  
      >>> EnvironmentSettings.new_instance() \
      ...     .in_streaming_mode() \
      ...     .with_built_in_catalog_name("my_catalog") \
      ...     .with_built_in_database_name("my_database") \
      ...     .build()
  
  :func:`~EnvironmentSettings.in_streaming_mode` or :func:`~EnvironmentSettings.in_batch_mode`
  might be convenient as shortcuts.
docstr: Creates a builder for creating an instance of EnvironmentSettings.
  
  :return: A builder of EnvironmentSettings.
docstr_tok: ["Creates","a","builder","for","creating","an","instance","of","EnvironmentSettings",".",":","return",":","A","builder","of","EnvironmentSettings","."]
code: def new_instance() -> "EnvironmentSettings.Builder":
      """
      Creates a builder for creating an instance of EnvironmentSettings.
  
      :return: A builder of EnvironmentSettings.
      """
      return EnvironmentSettings.Builder()
  
file_path: flink/flink-python/pyflink/table/environment_settings.py
imports: import warnings
  from pyflink.java_gateway import get_gateway
  from pyflink.util.java_utils import create_url_class_loader
  from pyflink.common import Configuration
label_desc: Use image node_id 7 for calling the EnvironmentSettings obj's underlying member method code with example usage: obj.new_instance() and returns: EnvironmentSettings