#[non_exhaustive]pub struct ExecutionAttemptBuilder { /* private fields */ }Expand description
A builder for ExecutionAttempt.
Implementations§
Source§impl ExecutionAttemptBuilder
impl ExecutionAttemptBuilder
Sourcepub fn status(self, input: ExecutionStatus) -> Self
pub fn status(self, input: ExecutionStatus) -> Self
The status of the last column statistics task run.
Sourcepub fn set_status(self, input: Option<ExecutionStatus>) -> Self
pub fn set_status(self, input: Option<ExecutionStatus>) -> Self
The status of the last column statistics task run.
Sourcepub fn get_status(&self) -> &Option<ExecutionStatus>
pub fn get_status(&self) -> &Option<ExecutionStatus>
The status of the last column statistics task run.
Sourcepub fn column_statistics_task_run_id(self, input: impl Into<String>) -> Self
pub fn column_statistics_task_run_id(self, input: impl Into<String>) -> Self
A task run ID for the last column statistics task run.
Sourcepub fn set_column_statistics_task_run_id(self, input: Option<String>) -> Self
pub fn set_column_statistics_task_run_id(self, input: Option<String>) -> Self
A task run ID for the last column statistics task run.
Sourcepub fn get_column_statistics_task_run_id(&self) -> &Option<String>
pub fn get_column_statistics_task_run_id(&self) -> &Option<String>
A task run ID for the last column statistics task run.
Sourcepub fn execution_timestamp(self, input: DateTime) -> Self
pub fn execution_timestamp(self, input: DateTime) -> Self
A timestamp when the last column statistics task run occurred.
Sourcepub fn set_execution_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_execution_timestamp(self, input: Option<DateTime>) -> Self
A timestamp when the last column statistics task run occurred.
Sourcepub fn get_execution_timestamp(&self) -> &Option<DateTime>
pub fn get_execution_timestamp(&self) -> &Option<DateTime>
A timestamp when the last column statistics task run occurred.
Sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
An error message associated with the last column statistics task run.
Sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
An error message associated with the last column statistics task run.
Sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
An error message associated with the last column statistics task run.
Sourcepub fn build(self) -> ExecutionAttempt
pub fn build(self) -> ExecutionAttempt
Consumes the builder and constructs a ExecutionAttempt.
Trait Implementations§
Source§impl Clone for ExecutionAttemptBuilder
impl Clone for ExecutionAttemptBuilder
Source§fn clone(&self) -> ExecutionAttemptBuilder
fn clone(&self) -> ExecutionAttemptBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecutionAttemptBuilder
impl Debug for ExecutionAttemptBuilder
Source§impl Default for ExecutionAttemptBuilder
impl Default for ExecutionAttemptBuilder
Source§fn default() -> ExecutionAttemptBuilder
fn default() -> ExecutionAttemptBuilder
Source§impl PartialEq for ExecutionAttemptBuilder
impl PartialEq for ExecutionAttemptBuilder
Source§fn eq(&self, other: &ExecutionAttemptBuilder) -> bool
fn eq(&self, other: &ExecutionAttemptBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecutionAttemptBuilder
Auto Trait Implementations§
impl Freeze for ExecutionAttemptBuilder
impl RefUnwindSafe for ExecutionAttemptBuilder
impl Send for ExecutionAttemptBuilder
impl Sync for ExecutionAttemptBuilder
impl Unpin for ExecutionAttemptBuilder
impl UnsafeUnpin for ExecutionAttemptBuilder
impl UnwindSafe for ExecutionAttemptBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more