Class Notebook
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.Notebook
-
public final class Notebook extends Object
Notebook.
-
-
Constructor Summary
Constructors Constructor Description Notebook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
Get the additionalProperties property: Notebook.BigDataPoolReference
getBigDataPool()
Get the bigDataPool property: Big data pool reference.List<NotebookCell>
getCells()
Get the cells property: Array of cells of the current notebook.String
getDescription()
Get the description property: The description of the notebook.NotebookFolder
getFolder()
Get the folder property: The folder that this notebook is in.NotebookMetadata
getMetadata()
Get the metadata property: Notebook root-level metadata.int
getNbformat()
Get the nbformat property: Notebook format (major number).int
getNbformatMinor()
Get the nbformatMinor property: Notebook format (minor number).NotebookSessionProperties
getSessionProperties()
Get the sessionProperties property: Session properties.Notebook
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Notebook.Notebook
setBigDataPool(BigDataPoolReference bigDataPool)
Set the bigDataPool property: Big data pool reference.Notebook
setCells(List<NotebookCell> cells)
Set the cells property: Array of cells of the current notebook.Notebook
setDescription(String description)
Set the description property: The description of the notebook.Notebook
setFolder(NotebookFolder folder)
Set the folder property: The folder that this notebook is in.Notebook
setMetadata(NotebookMetadata metadata)
Set the metadata property: Notebook root-level metadata.Notebook
setNbformat(int nbformat)
Set the nbformat property: Notebook format (major number).Notebook
setNbformatMinor(int nbformatMinor)
Set the nbformatMinor property: Notebook format (minor number).Notebook
setSessionProperties(NotebookSessionProperties sessionProperties)
Set the sessionProperties property: Session properties.
-
-
-
Method Detail
-
getDescription
public String getDescription()
Get the description property: The description of the notebook.- Returns:
- the description value.
-
setDescription
public Notebook setDescription(String description)
Set the description property: The description of the notebook.- Parameters:
description
- the description value to set.- Returns:
- the Notebook object itself.
-
getBigDataPool
public BigDataPoolReference getBigDataPool()
Get the bigDataPool property: Big data pool reference.- Returns:
- the bigDataPool value.
-
setBigDataPool
public Notebook setBigDataPool(BigDataPoolReference bigDataPool)
Set the bigDataPool property: Big data pool reference.- Parameters:
bigDataPool
- the bigDataPool value to set.- Returns:
- the Notebook object itself.
-
getSessionProperties
public NotebookSessionProperties getSessionProperties()
Get the sessionProperties property: Session properties.- Returns:
- the sessionProperties value.
-
setSessionProperties
public Notebook setSessionProperties(NotebookSessionProperties sessionProperties)
Set the sessionProperties property: Session properties.- Parameters:
sessionProperties
- the sessionProperties value to set.- Returns:
- the Notebook object itself.
-
getMetadata
public NotebookMetadata getMetadata()
Get the metadata property: Notebook root-level metadata.- Returns:
- the metadata value.
-
setMetadata
public Notebook setMetadata(NotebookMetadata metadata)
Set the metadata property: Notebook root-level metadata.- Parameters:
metadata
- the metadata value to set.- Returns:
- the Notebook object itself.
-
getNbformat
public int getNbformat()
Get the nbformat property: Notebook format (major number). Incremented between backwards incompatible changes to the notebook format.- Returns:
- the nbformat value.
-
setNbformat
public Notebook setNbformat(int nbformat)
Set the nbformat property: Notebook format (major number). Incremented between backwards incompatible changes to the notebook format.- Parameters:
nbformat
- the nbformat value to set.- Returns:
- the Notebook object itself.
-
getNbformatMinor
public int getNbformatMinor()
Get the nbformatMinor property: Notebook format (minor number). Incremented for backward compatible changes to the notebook format.- Returns:
- the nbformatMinor value.
-
setNbformatMinor
public Notebook setNbformatMinor(int nbformatMinor)
Set the nbformatMinor property: Notebook format (minor number). Incremented for backward compatible changes to the notebook format.- Parameters:
nbformatMinor
- the nbformatMinor value to set.- Returns:
- the Notebook object itself.
-
getCells
public List<NotebookCell> getCells()
Get the cells property: Array of cells of the current notebook.- Returns:
- the cells value.
-
setCells
public Notebook setCells(List<NotebookCell> cells)
Set the cells property: Array of cells of the current notebook.- Parameters:
cells
- the cells value to set.- Returns:
- the Notebook object itself.
-
getFolder
public NotebookFolder getFolder()
Get the folder property: The folder that this notebook is in. If not specified, this notebook will appear at the root level.- Returns:
- the folder value.
-
setFolder
public Notebook setFolder(NotebookFolder folder)
Set the folder property: The folder that this notebook is in. If not specified, this notebook will appear at the root level.- Parameters:
folder
- the folder value to set.- Returns:
- the Notebook object itself.
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Get the additionalProperties property: Notebook.- Returns:
- the additionalProperties value.
-
-