Interface EngineConfiguration.Builder

    • Method Detail

      • coordinatorDpuSize

        EngineConfiguration.Builder coordinatorDpuSize​(Integer coordinatorDpuSize)

        The number of DPUs to use for the coordinator. A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session. The default is 1.

        Parameters:
        coordinatorDpuSize - The number of DPUs to use for the coordinator. A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session. The default is 1.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxConcurrentDpus

        EngineConfiguration.Builder maxConcurrentDpus​(Integer maxConcurrentDpus)

        The maximum number of DPUs that can run concurrently.

        Parameters:
        maxConcurrentDpus - The maximum number of DPUs that can run concurrently.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultExecutorDpuSize

        EngineConfiguration.Builder defaultExecutorDpuSize​(Integer defaultExecutorDpuSize)

        The default number of DPUs to use for executors. An executor is the smallest unit of compute that a notebook session can request from Athena. The default is 1.

        Parameters:
        defaultExecutorDpuSize - The default number of DPUs to use for executors. An executor is the smallest unit of compute that a notebook session can request from Athena. The default is 1.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • additionalConfigs

        EngineConfiguration.Builder additionalConfigs​(Map<String,​String> additionalConfigs)

        Contains additional notebook engine MAP<string, string> parameter mappings in the form of key-value pairs. To specify an Athena notebook that the Jupyter server will download and serve, specify a value for the StartSessionRequest$NotebookVersion field, and then add a key named NotebookId to AdditionalConfigs that has the value of the Athena notebook ID.

        Parameters:
        additionalConfigs - Contains additional notebook engine MAP<string, string> parameter mappings in the form of key-value pairs. To specify an Athena notebook that the Jupyter server will download and serve, specify a value for the StartSessionRequest$NotebookVersion field, and then add a key named NotebookId to AdditionalConfigs that has the value of the Athena notebook ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sparkProperties

        EngineConfiguration.Builder sparkProperties​(Map<String,​String> sparkProperties)

        Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general Spark tuning.

        Parameters:
        sparkProperties - Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general Spark tuning.
        Returns:
        Returns a reference to this object so that method calls can be chained together.