RunNotebookRequest Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. RunNotebookRequest
- com.
Implements
public final class RunNotebookRequest
implements JsonSerializable<RunNotebookRequest>
Run notebook request.
Constructor Summary
| Constructor | Description |
|---|---|
| RunNotebookRequest() |
Creates an instance of Run |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Run |
fromJson(JsonReader jsonReader)
Reads an instance of Run |
| String |
getNotebook()
Get the notebook property: Notebook name. |
|
Map<String,Run |
getParameters()
Get the parameters property: Run notebook parameters. |
|
Run |
getSessionOptions()
Get the session |
| String |
getSparkPool()
Get the spark |
| Boolean |
isHonorSessionTimeToLive()
Get the honor |
|
Run |
setHonorSessionTimeToLive(Boolean honorSessionTimeToLive)
Set the honor |
|
Run |
setNotebook(String notebook)
Set the notebook property: Notebook name. |
|
Run |
setParameters(Map<String,RunNotebookParameter> parameters)
Set the parameters property: Run notebook parameters. |
|
Run |
setSessionOptions(RunNotebookSparkSessionOptions sessionOptions)
Set the session |
|
Run |
setSparkPool(String sparkPool)
Set the spark |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
RunNotebookRequest
public RunNotebookRequest()
Creates an instance of RunNotebookRequest class.
Method Details
fromJson
public static RunNotebookRequest fromJson(JsonReader jsonReader)
Reads an instance of RunNotebookRequest from the JsonReader.
Parameters:
Returns:
Throws:
getNotebook
public String getNotebook()
Get the notebook property: Notebook name.
Returns:
getParameters
public Map<String,RunNotebookParameter> getParameters()
Get the parameters property: Run notebook parameters.
Returns:
getSessionOptions
public RunNotebookSparkSessionOptions getSessionOptions()
Get the sessionOptions property: Session properties.
Returns:
getSparkPool
public String getSparkPool()
Get the sparkPool property: SparkPool name.
Returns:
isHonorSessionTimeToLive
public Boolean isHonorSessionTimeToLive()
Get the honorSessionTimeToLive property: Whether session should run till time to live after run completes.
Returns:
setHonorSessionTimeToLive
public RunNotebookRequest setHonorSessionTimeToLive(Boolean honorSessionTimeToLive)
Set the honorSessionTimeToLive property: Whether session should run till time to live after run completes.
Parameters:
Returns:
setNotebook
public RunNotebookRequest setNotebook(String notebook)
Set the notebook property: Notebook name.
Parameters:
Returns:
setParameters
public RunNotebookRequest setParameters(Map<String,RunNotebookParameter> parameters)
Set the parameters property: Run notebook parameters.
Parameters:
Returns:
setSessionOptions
public RunNotebookRequest setSessionOptions(RunNotebookSparkSessionOptions sessionOptions)
Set the sessionOptions property: Session properties.
Parameters:
Returns:
setSparkPool
public RunNotebookRequest setSparkPool(String sparkPool)
Set the sparkPool property: SparkPool name.
Parameters:
Returns: