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, withCallback
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArgumentsInvocation, invoke, raw, withCallback
public NotebookCommandBuilder command_type(String commandType)
NotebookCommandBuilder
command_type
in interface NotebookCommandBuilder
public NotebookCommandBuilder notebook_id(String notebookId)
NotebookCommandBuilder
notebook_id
in interface NotebookCommandBuilder
public NotebookCommandBuilder language(String language)
NotebookCommandBuilder
language
in interface NotebookCommandBuilder
public NotebookCommandBuilder label(String label)
NotebookCommandBuilder
label
in interface NotebookCommandBuilder
public NotebookCommandBuilder name(String name)
NotebookCommandBuilder
name
in interface NotebookCommandBuilder
public NotebookCommandBuilder tags(String[] tags)
NotebookCommandBuilder
tags
in interface NotebookCommandBuilder
public NotebookCommandBuilder arguments(Map<String,String> arguments)
NotebookCommandBuilder
arguments
in interface NotebookCommandBuilder
protected 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.