Interface EngineConfiguration.Builder

  • Method Details

    • 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.
    • classifications

      EngineConfiguration.Builder classifications(Collection<Classification> classifications)

      The configuration classifications that can be specified for the engine.

      Parameters:
      classifications - The configuration classifications that can be specified for the engine.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • classifications

      EngineConfiguration.Builder classifications(Classification... classifications)

      The configuration classifications that can be specified for the engine.

      Parameters:
      classifications - The configuration classifications that can be specified for the engine.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • classifications

      EngineConfiguration.Builder classifications(Consumer<Classification.Builder>... classifications)

      The configuration classifications that can be specified for the engine.

      This is a convenience method that creates an instance of the Classification.Builder avoiding the need to create one manually via Classification.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to classifications(List<Classification>).

      Parameters:
      classifications - a consumer that will call methods on Classification.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: