#[non_exhaustive]pub struct NotebookExecutionSummaryBuilder { /* private fields */ }
Expand description
A builder for NotebookExecutionSummary
.
Implementations§
source§impl NotebookExecutionSummaryBuilder
impl NotebookExecutionSummaryBuilder
sourcepub fn notebook_execution_id(self, input: impl Into<String>) -> Self
pub fn notebook_execution_id(self, input: impl Into<String>) -> Self
The unique identifier of the notebook execution.
sourcepub fn set_notebook_execution_id(self, input: Option<String>) -> Self
pub fn set_notebook_execution_id(self, input: Option<String>) -> Self
The unique identifier of the notebook execution.
sourcepub fn get_notebook_execution_id(&self) -> &Option<String>
pub fn get_notebook_execution_id(&self) -> &Option<String>
The unique identifier of the notebook execution.
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 editor associated with the 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 editor associated with the notebook execution.
sourcepub fn get_editor_id(&self) -> &Option<String>
pub fn get_editor_id(&self) -> &Option<String>
The unique identifier of the editor associated with the notebook execution.
sourcepub fn notebook_execution_name(self, input: impl Into<String>) -> Self
pub fn notebook_execution_name(self, input: impl Into<String>) -> Self
The name of 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
The name of the notebook execution.
sourcepub fn get_notebook_execution_name(&self) -> &Option<String>
pub fn get_notebook_execution_name(&self) -> &Option<String>
The name of the notebook execution.
sourcepub fn status(self, input: NotebookExecutionStatus) -> Self
pub fn status(self, input: NotebookExecutionStatus) -> Self
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 aStopNotebookExecution
request and the stop is pending. -
STOPPING
indicates that the cluster is in the process of stopping the execution as a result of aStopNotebookExecution
request. -
STOPPED
indicates that the execution stopped because of aStopNotebookExecution
request.
sourcepub fn set_status(self, input: Option<NotebookExecutionStatus>) -> Self
pub fn set_status(self, input: Option<NotebookExecutionStatus>) -> Self
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 aStopNotebookExecution
request and the stop is pending. -
STOPPING
indicates that the cluster is in the process of stopping the execution as a result of aStopNotebookExecution
request. -
STOPPED
indicates that the execution stopped because of aStopNotebookExecution
request.
sourcepub fn get_status(&self) -> &Option<NotebookExecutionStatus>
pub fn get_status(&self) -> &Option<NotebookExecutionStatus>
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 aStopNotebookExecution
request and the stop is pending. -
STOPPING
indicates that the cluster is in the process of stopping the execution as a result of aStopNotebookExecution
request. -
STOPPED
indicates that the execution stopped because of aStopNotebookExecution
request.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The timestamp when notebook execution started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The timestamp when notebook execution started.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The timestamp when notebook execution started.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The timestamp when notebook execution started.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The timestamp when notebook execution started.
sourcepub fn notebook_s3_location(self, input: NotebookS3LocationForOutput) -> Self
pub fn notebook_s3_location(self, input: NotebookS3LocationForOutput) -> Self
The Amazon S3 location that stores the notebook execution input.
sourcepub fn set_notebook_s3_location(
self,
input: Option<NotebookS3LocationForOutput>
) -> Self
pub fn set_notebook_s3_location( self, input: Option<NotebookS3LocationForOutput> ) -> Self
The Amazon S3 location that stores the notebook execution input.
sourcepub fn get_notebook_s3_location(&self) -> &Option<NotebookS3LocationForOutput>
pub fn get_notebook_s3_location(&self) -> &Option<NotebookS3LocationForOutput>
The Amazon S3 location that stores the notebook execution input.
sourcepub fn execution_engine_id(self, input: impl Into<String>) -> Self
pub fn execution_engine_id(self, input: impl Into<String>) -> Self
The unique ID of the execution engine for the notebook execution.
sourcepub fn set_execution_engine_id(self, input: Option<String>) -> Self
pub fn set_execution_engine_id(self, input: Option<String>) -> Self
The unique ID of the execution engine for the notebook execution.
sourcepub fn get_execution_engine_id(&self) -> &Option<String>
pub fn get_execution_engine_id(&self) -> &Option<String>
The unique ID of the execution engine for the notebook execution.
sourcepub fn build(self) -> NotebookExecutionSummary
pub fn build(self) -> NotebookExecutionSummary
Consumes the builder and constructs a NotebookExecutionSummary
.
Trait Implementations§
source§impl Clone for NotebookExecutionSummaryBuilder
impl Clone for NotebookExecutionSummaryBuilder
source§fn clone(&self) -> NotebookExecutionSummaryBuilder
fn clone(&self) -> NotebookExecutionSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for NotebookExecutionSummaryBuilder
impl Default for NotebookExecutionSummaryBuilder
source§fn default() -> NotebookExecutionSummaryBuilder
fn default() -> NotebookExecutionSummaryBuilder
source§impl PartialEq for NotebookExecutionSummaryBuilder
impl PartialEq for NotebookExecutionSummaryBuilder
source§fn eq(&self, other: &NotebookExecutionSummaryBuilder) -> bool
fn eq(&self, other: &NotebookExecutionSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.