Interface StartNotebookExecutionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartNotebookExecutionRequest.Builder,StartNotebookExecutionRequest>
,EmrRequest.Builder
,SdkBuilder<StartNotebookExecutionRequest.Builder,StartNotebookExecutionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- StartNotebookExecutionRequest
public static interface StartNotebookExecutionRequest.Builder extends EmrRequest.Builder, SdkPojo, CopyableBuilder<StartNotebookExecutionRequest.Builder,StartNotebookExecutionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartNotebookExecutionRequest.Builder
editorId(String editorId)
The unique identifier of the Amazon EMR Notebook to use for notebook execution.StartNotebookExecutionRequest.Builder
environmentVariables(Map<String,String> environmentVariables)
The environment variables associated with the 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 Amazon EMR Notebook for this notebook execution.StartNotebookExecutionRequest.Builder
notebookParams(String notebookParams)
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.default StartNotebookExecutionRequest.Builder
notebookS3Location(Consumer<NotebookS3LocationFromInput.Builder> notebookS3Location)
The Amazon S3 location for the notebook execution input.StartNotebookExecutionRequest.Builder
notebookS3Location(NotebookS3LocationFromInput notebookS3Location)
The Amazon S3 location for the notebook execution input.StartNotebookExecutionRequest.Builder
outputNotebookFormat(String outputNotebookFormat)
The output format for the notebook execution.StartNotebookExecutionRequest.Builder
outputNotebookFormat(OutputNotebookFormat outputNotebookFormat)
The output format for the notebook execution.default StartNotebookExecutionRequest.Builder
outputNotebookS3Location(Consumer<OutputNotebookS3LocationFromInput.Builder> outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.StartNotebookExecutionRequest.Builder
outputNotebookS3Location(OutputNotebookS3LocationFromInput outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.StartNotebookExecutionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
StartNotebookExecutionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
StartNotebookExecutionRequest.Builder
relativePath(String relativePath)
The path and file name of the notebook file for this execution, relative to the path specified for the Amazon 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 Amazon 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.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
editorId
StartNotebookExecutionRequest.Builder editorId(String editorId)
The unique identifier of the Amazon EMR Notebook to use for notebook execution.
- Parameters:
editorId
- The unique identifier of the Amazon EMR Notebook to use for notebook execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relativePath
StartNotebookExecutionRequest.Builder relativePath(String relativePath)
The path and file name of the notebook file for this execution, relative to the path specified for the Amazon EMR Notebook. For example, if you specify a path of
s3://MyBucket/MyNotebooks
when you create an Amazon EMR Notebook for a notebook with an ID ofe-ABCDEFGHIJK1234567890ABCD
(theEditorID
of this request), and you specify aRelativePath
ofmy_notebook_executions/notebook_execution.ipynb
, the location of the file for the notebook execution iss3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.- Parameters:
relativePath
- The path and file name of the notebook file for this execution, relative to the path specified for the Amazon EMR Notebook. For example, if you specify a path ofs3://MyBucket/MyNotebooks
when you create an Amazon EMR Notebook for a notebook with an ID ofe-ABCDEFGHIJK1234567890ABCD
(theEditorID
of this request), and you specify aRelativePath
ofmy_notebook_executions/notebook_execution.ipynb
, the location of the file for the notebook execution iss3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookExecutionName
StartNotebookExecutionRequest.Builder notebookExecutionName(String notebookExecutionName)
An optional name for the notebook execution.
- Parameters:
notebookExecutionName
- An optional name for the notebook execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookParams
StartNotebookExecutionRequest.Builder notebookParams(String notebookParams)
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
- Parameters:
notebookParams
- Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionEngine
StartNotebookExecutionRequest.Builder executionEngine(ExecutionEngineConfig executionEngine)
Specifies the execution engine (cluster) that runs the notebook execution.
- Parameters:
executionEngine
- Specifies the execution engine (cluster) that runs the notebook execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionEngine
default StartNotebookExecutionRequest.Builder executionEngine(Consumer<ExecutionEngineConfig.Builder> executionEngine)
Specifies the execution engine (cluster) that runs the notebook execution.
This is a convenience method that creates an instance of theExecutionEngineConfig.Builder
avoiding the need to create one manually viaExecutionEngineConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionEngine(ExecutionEngineConfig)
.- Parameters:
executionEngine
- a consumer that will call methods onExecutionEngineConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
executionEngine(ExecutionEngineConfig)
-
serviceRole
StartNotebookExecutionRequest.Builder serviceRole(String serviceRole)
The name or ARN of the IAM role that is used as the service role for Amazon EMR (the Amazon EMR role) for the notebook execution.
- Parameters:
serviceRole
- The name or ARN of the IAM role that is used as the service role for Amazon EMR (the Amazon EMR role) for the notebook execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstanceSecurityGroupId
StartNotebookExecutionRequest.Builder notebookInstanceSecurityGroupId(String notebookInstanceSecurityGroupId)
The unique identifier of the Amazon EC2 security group to associate with the Amazon EMR Notebook for this notebook execution.
- Parameters:
notebookInstanceSecurityGroupId
- The unique identifier of the Amazon EC2 security group to associate with the Amazon EMR Notebook for this notebook execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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 method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
notebookS3Location
StartNotebookExecutionRequest.Builder notebookS3Location(NotebookS3LocationFromInput notebookS3Location)
The Amazon S3 location for the notebook execution input.
- Parameters:
notebookS3Location
- The Amazon S3 location for the notebook execution input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookS3Location
default StartNotebookExecutionRequest.Builder notebookS3Location(Consumer<NotebookS3LocationFromInput.Builder> notebookS3Location)
The Amazon S3 location for the notebook execution input.
This is a convenience method that creates an instance of theNotebookS3LocationFromInput.Builder
avoiding the need to create one manually viaNotebookS3LocationFromInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotebookS3Location(NotebookS3LocationFromInput)
.- Parameters:
notebookS3Location
- a consumer that will call methods onNotebookS3LocationFromInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
notebookS3Location(NotebookS3LocationFromInput)
-
outputNotebookS3Location
StartNotebookExecutionRequest.Builder outputNotebookS3Location(OutputNotebookS3LocationFromInput outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.
- Parameters:
outputNotebookS3Location
- The Amazon S3 location for the notebook execution output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputNotebookS3Location
default StartNotebookExecutionRequest.Builder outputNotebookS3Location(Consumer<OutputNotebookS3LocationFromInput.Builder> outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.
This is a convenience method that creates an instance of theOutputNotebookS3LocationFromInput.Builder
avoiding the need to create one manually viaOutputNotebookS3LocationFromInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputNotebookS3Location(OutputNotebookS3LocationFromInput)
.- Parameters:
outputNotebookS3Location
- a consumer that will call methods onOutputNotebookS3LocationFromInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputNotebookS3Location(OutputNotebookS3LocationFromInput)
-
outputNotebookFormat
StartNotebookExecutionRequest.Builder outputNotebookFormat(String outputNotebookFormat)
The output format for the notebook execution.
- Parameters:
outputNotebookFormat
- The output format for the notebook execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OutputNotebookFormat
,OutputNotebookFormat
-
outputNotebookFormat
StartNotebookExecutionRequest.Builder outputNotebookFormat(OutputNotebookFormat outputNotebookFormat)
The output format for the notebook execution.
- Parameters:
outputNotebookFormat
- The output format for the notebook execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OutputNotebookFormat
,OutputNotebookFormat
-
environmentVariables
StartNotebookExecutionRequest.Builder environmentVariables(Map<String,String> environmentVariables)
The environment variables associated with the notebook execution.
- Parameters:
environmentVariables
- The environment variables associated with the notebook execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartNotebookExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
StartNotebookExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-