public class NotebookCommandBuilderImpl extends InvocationCallbackBase<CommandResponse> implements NotebookCommandBuilder
| Modifier and Type | Method and Description |
|---|---|
NotebookCommandBuilder |
arguments(Map<String,String> arguments)
arguments arguments passed to command
|
BaseCommand |
build() |
NotebookCommandBuilder |
command_type(String commandType)
Set to SparkCommand
|
protected BaseCommand.COMMAND_TYPE |
getCommandType() |
protected com.fasterxml.jackson.databind.node.ObjectNode |
getEntity() |
protected InvokeArguments<CommandResponse> |
getInvokeArguments() |
NotebookCommandBuilder |
label(String label)
label label of the cluster which is associated with notebook
|
NotebookCommandBuilder |
language(String language)
language language is always notebook
|
NotebookCommandBuilder |
name(String name)
name Add a name to the command that is useful while filtering commands from the command history
|
NotebookCommandBuilder |
notebook_id(String notebookId)
notebook_id id of notebook
|
NotebookCommandBuilder |
tags(String[] tags)
tags tags to command, so it is easily identifiable
|
getArgumentsInvocation, invoke, raw, withCallbackclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArgumentsInvocation, invoke, raw, withCallbackpublic NotebookCommandBuilder command_type(String commandType)
NotebookCommandBuildercommand_type in interface NotebookCommandBuilderpublic NotebookCommandBuilder notebook_id(String notebookId)
NotebookCommandBuildernotebook_id in interface NotebookCommandBuilderpublic NotebookCommandBuilder language(String language)
NotebookCommandBuilderlanguage in interface NotebookCommandBuilderpublic NotebookCommandBuilder label(String label)
NotebookCommandBuilderlabel in interface NotebookCommandBuilderpublic NotebookCommandBuilder name(String name)
NotebookCommandBuildername in interface NotebookCommandBuilderpublic NotebookCommandBuilder tags(String[] tags)
NotebookCommandBuildertags in interface NotebookCommandBuilderpublic NotebookCommandBuilder arguments(Map<String,String> arguments)
NotebookCommandBuilderarguments in interface NotebookCommandBuilderprotected com.fasterxml.jackson.databind.node.ObjectNode getEntity()
protected BaseCommand.COMMAND_TYPE getCommandType()
protected InvokeArguments<CommandResponse> getInvokeArguments()
getInvokeArguments in class InvocationCallbackBase<CommandResponse>public BaseCommand build()
Copyright © 2020. All rights reserved.