Struct aws_sdk_emr::operation::start_notebook_execution::builders::StartNotebookExecutionInputBuilder
source · #[non_exhaustive]pub struct StartNotebookExecutionInputBuilder { /* private fields */ }
Expand description
A builder for StartNotebookExecutionInput
.
Implementations§
source§impl StartNotebookExecutionInputBuilder
impl StartNotebookExecutionInputBuilder
sourcepub fn editor_id(self, input: impl Into<String>) -> Self
pub fn editor_id(self, input: impl Into<String>) -> Self
The unique identifier of the Amazon EMR Notebook to use for notebook execution.
sourcepub fn set_editor_id(self, input: Option<String>) -> Self
pub fn set_editor_id(self, input: Option<String>) -> Self
The unique identifier of the Amazon EMR Notebook to use for notebook execution.
sourcepub fn get_editor_id(&self) -> &Option<String>
pub fn get_editor_id(&self) -> &Option<String>
The unique identifier of the Amazon EMR Notebook to use for notebook execution.
sourcepub fn relative_path(self, input: impl Into<String>) -> Self
pub fn relative_path(self, input: impl Into<String>) -> Self
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
.
sourcepub fn set_relative_path(self, input: Option<String>) -> Self
pub fn set_relative_path(self, input: Option<String>) -> Self
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
.
sourcepub fn get_relative_path(&self) -> &Option<String>
pub fn get_relative_path(&self) -> &Option<String>
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
.
sourcepub fn notebook_execution_name(self, input: impl Into<String>) -> Self
pub fn notebook_execution_name(self, input: impl Into<String>) -> Self
An optional name for the notebook execution.
sourcepub fn set_notebook_execution_name(self, input: Option<String>) -> Self
pub fn set_notebook_execution_name(self, input: Option<String>) -> Self
An optional name for the notebook execution.
sourcepub fn get_notebook_execution_name(&self) -> &Option<String>
pub fn get_notebook_execution_name(&self) -> &Option<String>
An optional name for the notebook execution.
sourcepub fn notebook_params(self, input: impl Into<String>) -> Self
pub fn notebook_params(self, input: impl Into<String>) -> Self
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
sourcepub fn set_notebook_params(self, input: Option<String>) -> Self
pub fn set_notebook_params(self, input: Option<String>) -> Self
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
sourcepub fn get_notebook_params(&self) -> &Option<String>
pub fn get_notebook_params(&self) -> &Option<String>
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.
sourcepub fn execution_engine(self, input: ExecutionEngineConfig) -> Self
pub fn execution_engine(self, input: ExecutionEngineConfig) -> Self
Specifies the execution engine (cluster) that runs the notebook execution.
sourcepub fn set_execution_engine(self, input: Option<ExecutionEngineConfig>) -> Self
pub fn set_execution_engine(self, input: Option<ExecutionEngineConfig>) -> Self
Specifies the execution engine (cluster) that runs the notebook execution.
sourcepub fn get_execution_engine(&self) -> &Option<ExecutionEngineConfig>
pub fn get_execution_engine(&self) -> &Option<ExecutionEngineConfig>
Specifies the execution engine (cluster) that runs the notebook execution.
sourcepub fn service_role(self, input: impl Into<String>) -> Self
pub fn service_role(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_service_role(self, input: Option<String>) -> Self
pub fn set_service_role(self, input: Option<String>) -> Self
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.
sourcepub fn get_service_role(&self) -> &Option<String>
pub fn get_service_role(&self) -> &Option<String>
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.
sourcepub fn notebook_instance_security_group_id(
self,
input: impl Into<String>
) -> Self
pub fn notebook_instance_security_group_id( self, input: impl Into<String> ) -> Self
The unique identifier of the Amazon EC2 security group to associate with the Amazon EMR Notebook for this notebook execution.
sourcepub fn set_notebook_instance_security_group_id(
self,
input: Option<String>
) -> Self
pub fn set_notebook_instance_security_group_id( self, input: Option<String> ) -> Self
The unique identifier of the Amazon EC2 security group to associate with the Amazon EMR Notebook for this notebook execution.
sourcepub fn get_notebook_instance_security_group_id(&self) -> &Option<String>
pub fn get_notebook_instance_security_group_id(&self) -> &Option<String>
The unique identifier of the Amazon EC2 security group to associate with the Amazon EMR Notebook for this notebook execution.
Appends an item to tags
.
To override the contents of this collection use set_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.
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.
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.
sourcepub fn notebook_s3_location(self, input: NotebookS3LocationFromInput) -> Self
pub fn notebook_s3_location(self, input: NotebookS3LocationFromInput) -> Self
The Amazon S3 location for the notebook execution input.
sourcepub fn set_notebook_s3_location(
self,
input: Option<NotebookS3LocationFromInput>
) -> Self
pub fn set_notebook_s3_location( self, input: Option<NotebookS3LocationFromInput> ) -> Self
The Amazon S3 location for the notebook execution input.
sourcepub fn get_notebook_s3_location(&self) -> &Option<NotebookS3LocationFromInput>
pub fn get_notebook_s3_location(&self) -> &Option<NotebookS3LocationFromInput>
The Amazon S3 location for the notebook execution input.
sourcepub fn output_notebook_s3_location(
self,
input: OutputNotebookS3LocationFromInput
) -> Self
pub fn output_notebook_s3_location( self, input: OutputNotebookS3LocationFromInput ) -> Self
The Amazon S3 location for the notebook execution output.
sourcepub fn set_output_notebook_s3_location(
self,
input: Option<OutputNotebookS3LocationFromInput>
) -> Self
pub fn set_output_notebook_s3_location( self, input: Option<OutputNotebookS3LocationFromInput> ) -> Self
The Amazon S3 location for the notebook execution output.
sourcepub fn get_output_notebook_s3_location(
&self
) -> &Option<OutputNotebookS3LocationFromInput>
pub fn get_output_notebook_s3_location( &self ) -> &Option<OutputNotebookS3LocationFromInput>
The Amazon S3 location for the notebook execution output.
sourcepub fn output_notebook_format(self, input: OutputNotebookFormat) -> Self
pub fn output_notebook_format(self, input: OutputNotebookFormat) -> Self
The output format for the notebook execution.
sourcepub fn set_output_notebook_format(
self,
input: Option<OutputNotebookFormat>
) -> Self
pub fn set_output_notebook_format( self, input: Option<OutputNotebookFormat> ) -> Self
The output format for the notebook execution.
sourcepub fn get_output_notebook_format(&self) -> &Option<OutputNotebookFormat>
pub fn get_output_notebook_format(&self) -> &Option<OutputNotebookFormat>
The output format for the notebook execution.
sourcepub fn environment_variables(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn environment_variables( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to environment_variables
.
To override the contents of this collection use set_environment_variables
.
The environment variables associated with the notebook execution.
sourcepub fn set_environment_variables(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_environment_variables( self, input: Option<HashMap<String, String>> ) -> Self
The environment variables associated with the notebook execution.
sourcepub fn get_environment_variables(&self) -> &Option<HashMap<String, String>>
pub fn get_environment_variables(&self) -> &Option<HashMap<String, String>>
The environment variables associated with the notebook execution.
sourcepub fn build(self) -> Result<StartNotebookExecutionInput, BuildError>
pub fn build(self) -> Result<StartNotebookExecutionInput, BuildError>
Consumes the builder and constructs a StartNotebookExecutionInput
.
source§impl StartNotebookExecutionInputBuilder
impl StartNotebookExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartNotebookExecutionOutput, SdkError<StartNotebookExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartNotebookExecutionOutput, SdkError<StartNotebookExecutionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartNotebookExecutionInputBuilder
impl Clone for StartNotebookExecutionInputBuilder
source§fn clone(&self) -> StartNotebookExecutionInputBuilder
fn clone(&self) -> StartNotebookExecutionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartNotebookExecutionInputBuilder
impl Default for StartNotebookExecutionInputBuilder
source§fn default() -> StartNotebookExecutionInputBuilder
fn default() -> StartNotebookExecutionInputBuilder
source§impl PartialEq for StartNotebookExecutionInputBuilder
impl PartialEq for StartNotebookExecutionInputBuilder
source§fn eq(&self, other: &StartNotebookExecutionInputBuilder) -> bool
fn eq(&self, other: &StartNotebookExecutionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.