Class SynapseNotebookActivityTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.SynapseNotebookActivityTypeProperties
Execute Synapse notebook activity properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconf()
Get the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.Get the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide.Get the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide.notebook()
Get the notebook property: Synapse notebook reference.Get the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.Get the parameters property: Notebook parameters.Get the sparkPool property: The name of the big data pool which will be used to execute the notebook.void
validate()
Validates the instance.Set the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.withDriverSize
(Object driverSize) Set the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide.withExecutorSize
(Object executorSize) Set the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide.withNotebook
(SynapseNotebookReference notebook) Set the notebook property: Synapse notebook reference.withNumExecutors
(Integer numExecutors) Set the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.withParameters
(Map<String, NotebookParameter> parameters) Set the parameters property: Notebook parameters.withSparkPool
(BigDataPoolParametrizationReference sparkPool) Set the sparkPool property: The name of the big data pool which will be used to execute the notebook.
-
Constructor Details
-
SynapseNotebookActivityTypeProperties
public SynapseNotebookActivityTypeProperties()
-
-
Method Details
-
notebook
Get the notebook property: Synapse notebook reference.- Returns:
- the notebook value.
-
withNotebook
Set the notebook property: Synapse notebook reference.- Parameters:
notebook
- the notebook value to set.- Returns:
- the SynapseNotebookActivityTypeProperties object itself.
-
sparkPool
Get the sparkPool property: The name of the big data pool which will be used to execute the notebook.- Returns:
- the sparkPool value.
-
withSparkPool
public SynapseNotebookActivityTypeProperties withSparkPool(BigDataPoolParametrizationReference sparkPool) Set the sparkPool property: The name of the big data pool which will be used to execute the notebook.- Parameters:
sparkPool
- the sparkPool value to set.- Returns:
- the SynapseNotebookActivityTypeProperties object itself.
-
parameters
Get the parameters property: Notebook parameters.- Returns:
- the parameters value.
-
withParameters
public SynapseNotebookActivityTypeProperties withParameters(Map<String, NotebookParameter> parameters) Set the parameters property: Notebook parameters.- Parameters:
parameters
- the parameters value to set.- Returns:
- the SynapseNotebookActivityTypeProperties object itself.
-
executorSize
Get the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Returns:
- the executorSize value.
-
withExecutorSize
Set the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Parameters:
executorSize
- the executorSize value to set.- Returns:
- the SynapseNotebookActivityTypeProperties object itself.
-
conf
Get the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.- Returns:
- the conf value.
-
withConf
Set the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.- Parameters:
conf
- the conf value to set.- Returns:
- the SynapseNotebookActivityTypeProperties object itself.
-
driverSize
Get the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Returns:
- the driverSize value.
-
withDriverSize
Set the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string).- Parameters:
driverSize
- the driverSize value to set.- Returns:
- the SynapseNotebookActivityTypeProperties object itself.
-
numExecutors
Get the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.- Returns:
- the numExecutors value.
-
withNumExecutors
Set the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.- Parameters:
numExecutors
- the numExecutors value to set.- Returns:
- the SynapseNotebookActivityTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-