public static interface StartNotebookExecutionRequest.Builder extends EmrRequest.Builder, SdkPojo, CopyableBuilder<StartNotebookExecutionRequest.Builder,StartNotebookExecutionRequest>
Modifier and Type | Method and Description |
---|---|
StartNotebookExecutionRequest.Builder |
editorId(String editorId)
The unique identifier of the EMR Notebook to use for notebook execution.
|
default StartNotebookExecutionRequest.Builder |
executionEngine(Consumer<ExecutionEngineConfig.Builder> executionEngine)
Specifies the execution engine (cluster) that runs the notebook execution.
|
StartNotebookExecutionRequest.Builder |
executionEngine(ExecutionEngineConfig executionEngine)
Specifies the execution engine (cluster) that runs the notebook execution.
|
StartNotebookExecutionRequest.Builder |
notebookExecutionName(String notebookExecutionName)
An optional name for the notebook execution.
|
StartNotebookExecutionRequest.Builder |
notebookInstanceSecurityGroupId(String notebookInstanceSecurityGroupId)
The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this notebook
execution.
|
StartNotebookExecutionRequest.Builder |
notebookParams(String notebookParams)
Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
|
StartNotebookExecutionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartNotebookExecutionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
StartNotebookExecutionRequest.Builder |
relativePath(String relativePath)
The path and file name of the notebook file for this execution, relative to the path specified for the EMR
Notebook.
|
StartNotebookExecutionRequest.Builder |
serviceRole(String serviceRole)
The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the
notebook execution.
|
StartNotebookExecutionRequest.Builder |
tags(Collection<Tag> tags)
A list of tags associated with a notebook execution.
|
StartNotebookExecutionRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags associated with a notebook execution.
|
StartNotebookExecutionRequest.Builder |
tags(Tag... tags)
A list of tags associated with a notebook execution.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
StartNotebookExecutionRequest.Builder editorId(String editorId)
The unique identifier of the EMR Notebook to use for notebook execution.
editorId
- The unique identifier of the EMR Notebook to use for notebook execution.StartNotebookExecutionRequest.Builder relativePath(String relativePath)
The path and file name of the notebook file for this execution, relative to the path specified for the EMR
Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you create an EMR
Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD
(the EditorID
of
this request), and you specify a RelativePath
of
my_notebook_executions/notebook_execution.ipynb
, the location of the file for the notebook
execution is
s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.
relativePath
- The path and file name of the notebook file for this execution, relative to the path specified for the
EMR Notebook. For example, if you specify a path of s3://MyBucket/MyNotebooks
when you
create an EMR Notebook for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD
(the
EditorID
of this request), and you specify a RelativePath
of
my_notebook_executions/notebook_execution.ipynb
, the location of the file for the
notebook execution is
s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.StartNotebookExecutionRequest.Builder notebookExecutionName(String notebookExecutionName)
An optional name for the notebook execution.
notebookExecutionName
- An optional name for the notebook execution.StartNotebookExecutionRequest.Builder notebookParams(String notebookParams)
Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
notebookParams
- Input parameters in JSON format passed to the EMR Notebook at runtime for execution.StartNotebookExecutionRequest.Builder executionEngine(ExecutionEngineConfig executionEngine)
Specifies the execution engine (cluster) that runs the notebook execution.
executionEngine
- Specifies the execution engine (cluster) that runs the notebook execution.default StartNotebookExecutionRequest.Builder executionEngine(Consumer<ExecutionEngineConfig.Builder> executionEngine)
Specifies the execution engine (cluster) that runs the notebook execution.
This is a convenience that creates an instance of theExecutionEngineConfig.Builder
avoiding the need
to create one manually via ExecutionEngineConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to executionEngine(ExecutionEngineConfig)
.executionEngine
- a consumer that will call methods on ExecutionEngineConfig.Builder
executionEngine(ExecutionEngineConfig)
StartNotebookExecutionRequest.Builder serviceRole(String serviceRole)
The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the notebook execution.
serviceRole
- The name or ARN of the IAM role that is used as the service role for Amazon EMR (the EMR role) for the
notebook execution.StartNotebookExecutionRequest.Builder notebookInstanceSecurityGroupId(String notebookInstanceSecurityGroupId)
The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this notebook execution.
notebookInstanceSecurityGroupId
- The unique identifier of the Amazon EC2 security group to associate with the EMR Notebook for this
notebook execution.StartNotebookExecutionRequest.Builder tags(Collection<Tag> tags)
A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters and an optional value string with a maximum of 256 characters.
tags
- A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that
consist of a required key string with a maximum of 128 characters and an optional value string with a
maximum of 256 characters.StartNotebookExecutionRequest.Builder tags(Tag... tags)
A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters and an optional value string with a maximum of 256 characters.
tags
- A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that
consist of a required key string with a maximum of 128 characters and an optional value string with a
maximum of 256 characters.StartNotebookExecutionRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters and an optional value string with a maximum of 256 characters.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
StartNotebookExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
StartNotebookExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.