Class CfnWorkGroup.EngineConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.athena.CfnWorkGroup.EngineConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroup.EngineConfigurationProperty>
- Enclosing interface:
CfnWorkGroup.EngineConfigurationProperty
@Stability(Stable)
public static final class CfnWorkGroup.EngineConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroup.EngineConfigurationProperty>
A builder for
CfnWorkGroup.EngineConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalConfigs(Map<String, String> additionalConfigs) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getAdditionalConfigs()additionalConfigs(IResolvable additionalConfigs) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getAdditionalConfigs()build()Builds the configured instance.classifications(List<? extends Object> classifications) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getClassifications()classifications(IResolvable classifications) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getClassifications()coordinatorDpuSize(Number coordinatorDpuSize) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getCoordinatorDpuSize()defaultExecutorDpuSize(Number defaultExecutorDpuSize) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getDefaultExecutorDpuSize()maxConcurrentDpus(Number maxConcurrentDpus) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getMaxConcurrentDpus()sparkProperties(Map<String, String> sparkProperties) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getSparkProperties()sparkProperties(IResolvable sparkProperties) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getSparkProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalConfigs
@Stability(Stable) public CfnWorkGroup.EngineConfigurationProperty.Builder additionalConfigs(Map<String, String> additionalConfigs) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getAdditionalConfigs()- 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 theStartSessionRequest$NotebookVersionfield, and then add a key namedNotebookIdtoAdditionalConfigsthat has the value of the Athena notebook ID.- Returns:
this
-
additionalConfigs
@Stability(Stable) public CfnWorkGroup.EngineConfigurationProperty.Builder additionalConfigs(IResolvable additionalConfigs) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getAdditionalConfigs()- 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 theStartSessionRequest$NotebookVersionfield, and then add a key namedNotebookIdtoAdditionalConfigsthat has the value of the Athena notebook ID.- Returns:
this
-
classifications
@Stability(Stable) public CfnWorkGroup.EngineConfigurationProperty.Builder classifications(IResolvable classifications) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getClassifications()- Parameters:
classifications- The configuration classifications that can be specified for the engine.- Returns:
this
-
classifications
@Stability(Stable) public CfnWorkGroup.EngineConfigurationProperty.Builder classifications(List<? extends Object> classifications) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getClassifications()- Parameters:
classifications- The configuration classifications that can be specified for the engine.- Returns:
this
-
coordinatorDpuSize
@Stability(Stable) public CfnWorkGroup.EngineConfigurationProperty.Builder coordinatorDpuSize(Number coordinatorDpuSize) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getCoordinatorDpuSize()- 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:
this
-
defaultExecutorDpuSize
@Stability(Stable) public CfnWorkGroup.EngineConfigurationProperty.Builder defaultExecutorDpuSize(Number defaultExecutorDpuSize) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getDefaultExecutorDpuSize()- 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:
this
-
maxConcurrentDpus
@Stability(Stable) public CfnWorkGroup.EngineConfigurationProperty.Builder maxConcurrentDpus(Number maxConcurrentDpus) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getMaxConcurrentDpus()- Parameters:
maxConcurrentDpus- The maximum number of DPUs that can run concurrently.- Returns:
this
-
sparkProperties
@Stability(Stable) public CfnWorkGroup.EngineConfigurationProperty.Builder sparkProperties(Map<String, String> sparkProperties) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getSparkProperties()- Parameters:
sparkProperties- Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general Spark tuning.- Returns:
this
-
sparkProperties
@Stability(Stable) public CfnWorkGroup.EngineConfigurationProperty.Builder sparkProperties(IResolvable sparkProperties) Sets the value ofCfnWorkGroup.EngineConfigurationProperty.getSparkProperties()- Parameters:
sparkProperties- Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general Spark tuning.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkGroup.EngineConfigurationProperty>- Returns:
- a new instance of
CfnWorkGroup.EngineConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-