@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EngineConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains data processing unit (DPU) configuration settings and parameter mappings for a notebook engine.
Constructor and Description |
---|
EngineConfiguration() |
Modifier and Type | Method and Description |
---|---|
EngineConfiguration |
addAdditionalConfigsEntry(String key,
String value)
Add a single AdditionalConfigs entry
|
EngineConfiguration |
addSparkPropertiesEntry(String key,
String value)
Add a single SparkProperties entry
|
EngineConfiguration |
clearAdditionalConfigsEntries()
Removes all the entries added into AdditionalConfigs.
|
EngineConfiguration |
clearSparkPropertiesEntries()
Removes all the entries added into SparkProperties.
|
EngineConfiguration |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalConfigs()
Contains additional notebook engine
MAP<string, string> parameter mappings in the form of
key-value pairs. |
Integer |
getCoordinatorDpuSize()
The number of DPUs to use for the coordinator.
|
Integer |
getDefaultExecutorDpuSize()
The default number of DPUs to use for executors.
|
Integer |
getMaxConcurrentDpus()
The maximum number of DPUs that can run concurrently.
|
Map<String,String> |
getSparkProperties()
Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general
Spark tuning.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAdditionalConfigs(Map<String,String> additionalConfigs)
Contains additional notebook engine
MAP<string, string> parameter mappings in the form of
key-value pairs. |
void |
setCoordinatorDpuSize(Integer coordinatorDpuSize)
The number of DPUs to use for the coordinator.
|
void |
setDefaultExecutorDpuSize(Integer defaultExecutorDpuSize)
The default number of DPUs to use for executors.
|
void |
setMaxConcurrentDpus(Integer maxConcurrentDpus)
The maximum number of DPUs that can run concurrently.
|
void |
setSparkProperties(Map<String,String> sparkProperties)
Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general
Spark tuning.
|
String |
toString()
Returns a string representation of this object.
|
EngineConfiguration |
withAdditionalConfigs(Map<String,String> additionalConfigs)
Contains additional notebook engine
MAP<string, string> parameter mappings in the form of
key-value pairs. |
EngineConfiguration |
withCoordinatorDpuSize(Integer coordinatorDpuSize)
The number of DPUs to use for the coordinator.
|
EngineConfiguration |
withDefaultExecutorDpuSize(Integer defaultExecutorDpuSize)
The default number of DPUs to use for executors.
|
EngineConfiguration |
withMaxConcurrentDpus(Integer maxConcurrentDpus)
The maximum number of DPUs that can run concurrently.
|
EngineConfiguration |
withSparkProperties(Map<String,String> sparkProperties)
Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general
Spark tuning.
|
public void setCoordinatorDpuSize(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.
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.public Integer getCoordinatorDpuSize()
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.
public EngineConfiguration withCoordinatorDpuSize(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.
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.public void setMaxConcurrentDpus(Integer maxConcurrentDpus)
The maximum number of DPUs that can run concurrently.
maxConcurrentDpus
- The maximum number of DPUs that can run concurrently.public Integer getMaxConcurrentDpus()
The maximum number of DPUs that can run concurrently.
public EngineConfiguration withMaxConcurrentDpus(Integer maxConcurrentDpus)
The maximum number of DPUs that can run concurrently.
maxConcurrentDpus
- The maximum number of DPUs that can run concurrently.public void setDefaultExecutorDpuSize(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.
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.public Integer getDefaultExecutorDpuSize()
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.
public EngineConfiguration withDefaultExecutorDpuSize(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.
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.public Map<String,String> getAdditionalConfigs()
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.
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.public void setAdditionalConfigs(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.
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.public EngineConfiguration withAdditionalConfigs(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.
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.public EngineConfiguration addAdditionalConfigsEntry(String key, String value)
public EngineConfiguration clearAdditionalConfigsEntries()
public Map<String,String> getSparkProperties()
Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general Spark tuning.
public void setSparkProperties(Map<String,String> sparkProperties)
Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general Spark tuning.
sparkProperties
- Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and
general Spark tuning.public EngineConfiguration withSparkProperties(Map<String,String> sparkProperties)
Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and general Spark tuning.
sparkProperties
- Specifies custom jar files and Spark properties for use cases like cluster encryption, table formats, and
general Spark tuning.public EngineConfiguration addSparkPropertiesEntry(String key, String value)
public EngineConfiguration clearSparkPropertiesEntries()
public String toString()
toString
in class Object
Object.toString()
public EngineConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.