Interface NotebookMetadata.Builder

    • Method Detail

      • notebookId

        NotebookMetadata.Builder notebookId​(String notebookId)

        The notebook ID.

        Parameters:
        notebookId - The notebook ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        NotebookMetadata.Builder name​(String name)

        The name of the notebook.

        Parameters:
        name - The name of the notebook.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workGroup

        NotebookMetadata.Builder workGroup​(String workGroup)

        The name of the Spark enabled workgroup to which the notebook belongs.

        Parameters:
        workGroup - The name of the Spark enabled workgroup to which the notebook belongs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        NotebookMetadata.Builder creationTime​(Instant creationTime)

        The time when the notebook was created.

        Parameters:
        creationTime - The time when the notebook was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        NotebookMetadata.Builder type​(String type)

        The type of notebook. Currently, the only valid type is IPYNB.

        Parameters:
        type - The type of notebook. Currently, the only valid type is IPYNB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NotebookType, NotebookType
      • type

        NotebookMetadata.Builder type​(NotebookType type)

        The type of notebook. Currently, the only valid type is IPYNB.

        Parameters:
        type - The type of notebook. Currently, the only valid type is IPYNB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NotebookType, NotebookType
      • lastModifiedTime

        NotebookMetadata.Builder lastModifiedTime​(Instant lastModifiedTime)

        The time when the notebook was last modified.

        Parameters:
        lastModifiedTime - The time when the notebook was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.