Interface EngineConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EngineConfiguration.Builder,,EngineConfiguration> SdkBuilder<EngineConfiguration.Builder,,EngineConfiguration> SdkPojo
- Enclosing class:
EngineConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionadditionalConfigs(Map<String, String> additionalConfigs) Contains additional notebook engineMAP<string, string>parameter mappings in the form of key-value pairs.classifications(Collection<Classification> classifications) The configuration classifications that can be specified for the engine.classifications(Consumer<Classification.Builder>... classifications) The configuration classifications that can be specified for the engine.classifications(Classification... classifications) The configuration classifications that can be specified for the engine.coordinatorDpuSize(Integer coordinatorDpuSize) The number of DPUs to use for the coordinator.defaultExecutorDpuSize(Integer defaultExecutorDpuSize) The default number of DPUs to use for executors.maxConcurrentDpus(Integer maxConcurrentDpus) The maximum number of DPUs that can run concurrently.sparkProperties(Map<String, String> sparkProperties) Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general Spark tuning.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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 namedNotebookIdtoAdditionalConfigsthat has the value of the Athena notebook ID.- Parameters:
additionalConfigs- Contains additional notebook engineMAP<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 namedNotebookIdtoAdditionalConfigsthat has the value of the Athena notebook ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
The configuration classifications that can be specified for the engine.
This is a convenience method that creates an instance of theClassification.Builderavoiding the need to create one manually viaClassification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclassifications(List<Classification>).- Parameters:
classifications- a consumer that will call methods onClassification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-