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 Details

    • 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 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 .

      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 of s3://MyBucket/MyNotebooks when you create an Amazon 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 .
      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

      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

      Specifies the execution engine (cluster) that runs the notebook execution.

      This is a convenience method that creates an instance of the ExecutionEngineConfig.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).

      Parameters:
      executionEngine - a consumer that will call methods on ExecutionEngineConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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

      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 the Tag.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<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      The Amazon S3 location for the notebook execution input.

      This is a convenience method that creates an instance of the NotebookS3LocationFromInput.Builder avoiding the need to create one manually via NotebookS3LocationFromInput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to notebookS3Location(NotebookS3LocationFromInput).

      Parameters:
      notebookS3Location - a consumer that will call methods on NotebookS3LocationFromInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the OutputNotebookS3LocationFromInput.Builder avoiding the need to create one manually via OutputNotebookS3LocationFromInput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputNotebookS3Location(OutputNotebookS3LocationFromInput).

      Parameters:
      outputNotebookS3Location - a consumer that will call methods on OutputNotebookS3LocationFromInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.