Class CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.EngineConfigurationProperty>
- Enclosing interface:
CfnWorkGroupPropsMixin.EngineConfigurationProperty
@Stability(Stable)
public static final class CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.EngineConfigurationProperty>
A builder for
CfnWorkGroupPropsMixin.EngineConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalConfigs(Map<String, String> additionalConfigs) additionalConfigs(IResolvable additionalConfigs) build()Builds the configured instance.classifications(List<? extends Object> classifications) Sets the value ofCfnWorkGroupPropsMixin.EngineConfigurationProperty.getClassifications()classifications(IResolvable classifications) Sets the value ofCfnWorkGroupPropsMixin.EngineConfigurationProperty.getClassifications()coordinatorDpuSize(Number coordinatorDpuSize) defaultExecutorDpuSize(Number defaultExecutorDpuSize) maxConcurrentDpus(Number maxConcurrentDpus) sparkProperties(Map<String, String> sparkProperties) Sets the value ofCfnWorkGroupPropsMixin.EngineConfigurationProperty.getSparkProperties()sparkProperties(IResolvable sparkProperties) Sets the value ofCfnWorkGroupPropsMixin.EngineConfigurationProperty.getSparkProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalConfigs
@Stability(Stable) public CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder additionalConfigs(Map<String, String> additionalConfigs) - 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 CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder additionalConfigs(IResolvable additionalConfigs) - 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 CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder classifications(IResolvable classifications) Sets the value ofCfnWorkGroupPropsMixin.EngineConfigurationProperty.getClassifications()- Parameters:
classifications- The configuration classifications that can be specified for the engine.- Returns:
this
-
classifications
@Stability(Stable) public CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder classifications(List<? extends Object> classifications) Sets the value ofCfnWorkGroupPropsMixin.EngineConfigurationProperty.getClassifications()- Parameters:
classifications- The configuration classifications that can be specified for the engine.- Returns:
this
-
coordinatorDpuSize
@Stability(Stable) public CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder coordinatorDpuSize(Number coordinatorDpuSize) - 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 CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder defaultExecutorDpuSize(Number defaultExecutorDpuSize) - 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 CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder maxConcurrentDpus(Number maxConcurrentDpus) - Parameters:
maxConcurrentDpus- The maximum number of DPUs that can run concurrently.- Returns:
this
-
sparkProperties
@Stability(Stable) public CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder sparkProperties(Map<String, String> sparkProperties) Sets the value ofCfnWorkGroupPropsMixin.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 CfnWorkGroupPropsMixin.EngineConfigurationProperty.Builder sparkProperties(IResolvable sparkProperties) Sets the value ofCfnWorkGroupPropsMixin.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<CfnWorkGroupPropsMixin.EngineConfigurationProperty>- Returns:
- a new instance of
CfnWorkGroupPropsMixin.EngineConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-