public static interface NotebookExecution.Builder extends SdkPojo, CopyableBuilder<NotebookExecution.Builder,NotebookExecution>
| Modifier and Type | Method and Description |
|---|---|
NotebookExecution.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the notebook execution.
|
NotebookExecution.Builder |
editorId(String editorId)
The unique identifier of the Amazon EMR Notebook that is used for the notebook execution.
|
NotebookExecution.Builder |
endTime(Instant endTime)
The timestamp when notebook execution ended.
|
NotebookExecution.Builder |
environmentVariables(Map<String,String> environmentVariables)
The environment variables associated with the notebook execution.
|
default NotebookExecution.Builder |
executionEngine(Consumer<ExecutionEngineConfig.Builder> executionEngine)
The execution engine, such as an Amazon EMR cluster, used to run the Amazon EMR notebook and perform the
notebook execution.
|
NotebookExecution.Builder |
executionEngine(ExecutionEngineConfig executionEngine)
The execution engine, such as an Amazon EMR cluster, used to run the Amazon EMR notebook and perform the
notebook execution.
|
NotebookExecution.Builder |
lastStateChangeReason(String lastStateChangeReason)
The reason for the latest status change of the notebook execution.
|
NotebookExecution.Builder |
notebookExecutionId(String notebookExecutionId)
The unique identifier of a notebook execution.
|
NotebookExecution.Builder |
notebookExecutionName(String notebookExecutionName)
A name for the notebook execution.
|
NotebookExecution.Builder |
notebookInstanceSecurityGroupId(String notebookInstanceSecurityGroupId)
The unique identifier of the Amazon EC2 security group associated with the Amazon EMR Notebook instance.
|
NotebookExecution.Builder |
notebookParams(String notebookParams)
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
|
default NotebookExecution.Builder |
notebookS3Location(Consumer<NotebookS3LocationForOutput.Builder> notebookS3Location)
The Amazon S3 location that stores the notebook execution input.
|
NotebookExecution.Builder |
notebookS3Location(NotebookS3LocationForOutput notebookS3Location)
The Amazon S3 location that stores the notebook execution input.
|
NotebookExecution.Builder |
outputNotebookFormat(OutputNotebookFormat outputNotebookFormat)
The output format for the notebook execution.
|
NotebookExecution.Builder |
outputNotebookFormat(String outputNotebookFormat)
The output format for the notebook execution.
|
default NotebookExecution.Builder |
outputNotebookS3Location(Consumer<OutputNotebookS3LocationForOutput.Builder> outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.
|
NotebookExecution.Builder |
outputNotebookS3Location(OutputNotebookS3LocationForOutput outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.
|
NotebookExecution.Builder |
outputNotebookURI(String outputNotebookURI)
The location of the notebook execution's output file in Amazon S3.
|
NotebookExecution.Builder |
startTime(Instant startTime)
The timestamp when notebook execution started.
|
NotebookExecution.Builder |
status(NotebookExecutionStatus status)
The status of the notebook execution.
|
NotebookExecution.Builder |
status(String status)
The status of the notebook execution.
|
NotebookExecution.Builder |
tags(Collection<Tag> tags)
A list of tags associated with a notebook execution.
|
NotebookExecution.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags associated with a notebook execution.
|
NotebookExecution.Builder |
tags(Tag... tags)
A list of tags associated with a notebook execution.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNotebookExecution.Builder notebookExecutionId(String notebookExecutionId)
The unique identifier of a notebook execution.
notebookExecutionId - The unique identifier of a notebook execution.NotebookExecution.Builder editorId(String editorId)
The unique identifier of the Amazon EMR Notebook that is used for the notebook execution.
editorId - The unique identifier of the Amazon EMR Notebook that is used for the notebook execution.NotebookExecution.Builder executionEngine(ExecutionEngineConfig executionEngine)
The execution engine, such as an Amazon EMR cluster, used to run the Amazon EMR notebook and perform the notebook execution.
executionEngine - The execution engine, such as an Amazon EMR cluster, used to run the Amazon EMR notebook and perform
the notebook execution.default NotebookExecution.Builder executionEngine(Consumer<ExecutionEngineConfig.Builder> executionEngine)
The execution engine, such as an Amazon EMR cluster, used to run the Amazon EMR notebook and perform the notebook execution.
This is a convenience method 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.BuilderexecutionEngine(ExecutionEngineConfig)NotebookExecution.Builder notebookExecutionName(String notebookExecutionName)
A name for the notebook execution.
notebookExecutionName - A name for the notebook execution.NotebookExecution.Builder notebookParams(String notebookParams)
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
notebookParams - Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.NotebookExecution.Builder status(String status)
The status of the notebook execution.
START_PENDING indicates that the cluster has received the execution request but execution has
not begun.
STARTING indicates that the execution is starting on the cluster.
RUNNING indicates that the execution is being processed by the cluster.
FINISHING indicates that execution processing is in the final stages.
FINISHED indicates that the execution has completed without error.
FAILING indicates that the execution is failing and will not finish successfully.
FAILED indicates that the execution failed.
STOP_PENDING indicates that the cluster has received a StopNotebookExecution
request and the stop is pending.
STOPPING indicates that the cluster is in the process of stopping the execution as a result of a
StopNotebookExecution request.
STOPPED indicates that the execution stopped because of a StopNotebookExecution
request.
status - The status of the notebook execution.
START_PENDING indicates that the cluster has received the execution request but execution
has not begun.
STARTING indicates that the execution is starting on the cluster.
RUNNING indicates that the execution is being processed by the cluster.
FINISHING indicates that execution processing is in the final stages.
FINISHED indicates that the execution has completed without error.
FAILING indicates that the execution is failing and will not finish successfully.
FAILED indicates that the execution failed.
STOP_PENDING indicates that the cluster has received a StopNotebookExecution
request and the stop is pending.
STOPPING indicates that the cluster is in the process of stopping the execution as a
result of a StopNotebookExecution request.
STOPPED indicates that the execution stopped because of a
StopNotebookExecution request.
NotebookExecutionStatus,
NotebookExecutionStatusNotebookExecution.Builder status(NotebookExecutionStatus status)
The status of the notebook execution.
START_PENDING indicates that the cluster has received the execution request but execution has
not begun.
STARTING indicates that the execution is starting on the cluster.
RUNNING indicates that the execution is being processed by the cluster.
FINISHING indicates that execution processing is in the final stages.
FINISHED indicates that the execution has completed without error.
FAILING indicates that the execution is failing and will not finish successfully.
FAILED indicates that the execution failed.
STOP_PENDING indicates that the cluster has received a StopNotebookExecution
request and the stop is pending.
STOPPING indicates that the cluster is in the process of stopping the execution as a result of a
StopNotebookExecution request.
STOPPED indicates that the execution stopped because of a StopNotebookExecution
request.
status - The status of the notebook execution.
START_PENDING indicates that the cluster has received the execution request but execution
has not begun.
STARTING indicates that the execution is starting on the cluster.
RUNNING indicates that the execution is being processed by the cluster.
FINISHING indicates that execution processing is in the final stages.
FINISHED indicates that the execution has completed without error.
FAILING indicates that the execution is failing and will not finish successfully.
FAILED indicates that the execution failed.
STOP_PENDING indicates that the cluster has received a StopNotebookExecution
request and the stop is pending.
STOPPING indicates that the cluster is in the process of stopping the execution as a
result of a StopNotebookExecution request.
STOPPED indicates that the execution stopped because of a
StopNotebookExecution request.
NotebookExecutionStatus,
NotebookExecutionStatusNotebookExecution.Builder startTime(Instant startTime)
The timestamp when notebook execution started.
startTime - The timestamp when notebook execution started.NotebookExecution.Builder endTime(Instant endTime)
The timestamp when notebook execution ended.
endTime - The timestamp when notebook execution ended.NotebookExecution.Builder arn(String arn)
The Amazon Resource Name (ARN) of the notebook execution.
arn - The Amazon Resource Name (ARN) of the notebook execution.NotebookExecution.Builder outputNotebookURI(String outputNotebookURI)
The location of the notebook execution's output file in Amazon S3.
outputNotebookURI - The location of the notebook execution's output file in Amazon S3.NotebookExecution.Builder lastStateChangeReason(String lastStateChangeReason)
The reason for the latest status change of the notebook execution.
lastStateChangeReason - The reason for the latest status change of the notebook execution.NotebookExecution.Builder notebookInstanceSecurityGroupId(String notebookInstanceSecurityGroupId)
The unique identifier of the Amazon EC2 security group associated with the Amazon EMR Notebook instance. For more information see Specifying Amazon EC2 Security Groups for Amazon EMR Notebooks in the Amazon EMR Management Guide.
notebookInstanceSecurityGroupId - The unique identifier of the Amazon EC2 security group associated with the Amazon EMR Notebook
instance. For more information see Specifying Amazon EC2 Security Groups for Amazon EMR Notebooks in the Amazon EMR Management
Guide.NotebookExecution.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.NotebookExecution.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.NotebookExecution.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 via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) NotebookExecution.Builder notebookS3Location(NotebookS3LocationForOutput notebookS3Location)
The Amazon S3 location that stores the notebook execution input.
notebookS3Location - The Amazon S3 location that stores the notebook execution input.default NotebookExecution.Builder notebookS3Location(Consumer<NotebookS3LocationForOutput.Builder> notebookS3Location)
The Amazon S3 location that stores the notebook execution input.
This is a convenience method that creates an instance of theNotebookS3LocationForOutput.Builder
avoiding the need to create one manually via NotebookS3LocationForOutput.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to notebookS3Location(NotebookS3LocationForOutput).
notebookS3Location - a consumer that will call methods on NotebookS3LocationForOutput.BuildernotebookS3Location(NotebookS3LocationForOutput)NotebookExecution.Builder outputNotebookS3Location(OutputNotebookS3LocationForOutput outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.
outputNotebookS3Location - The Amazon S3 location for the notebook execution output.default NotebookExecution.Builder outputNotebookS3Location(Consumer<OutputNotebookS3LocationForOutput.Builder> outputNotebookS3Location)
The Amazon S3 location for the notebook execution output.
This is a convenience method that creates an instance of theOutputNotebookS3LocationForOutput.Builder avoiding the need to create one manually via
OutputNotebookS3LocationForOutput.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to outputNotebookS3Location(OutputNotebookS3LocationForOutput).
outputNotebookS3Location - a consumer that will call methods on OutputNotebookS3LocationForOutput.BuilderoutputNotebookS3Location(OutputNotebookS3LocationForOutput)NotebookExecution.Builder outputNotebookFormat(String outputNotebookFormat)
The output format for the notebook execution.
outputNotebookFormat - The output format for the notebook execution.OutputNotebookFormat,
OutputNotebookFormatNotebookExecution.Builder outputNotebookFormat(OutputNotebookFormat outputNotebookFormat)
The output format for the notebook execution.
outputNotebookFormat - The output format for the notebook execution.OutputNotebookFormat,
OutputNotebookFormatNotebookExecution.Builder environmentVariables(Map<String,String> environmentVariables)
The environment variables associated with the notebook execution.
environmentVariables - The environment variables associated with the notebook execution.Copyright © 2023. All rights reserved.