Struct aws_sdk_emr::types::builders::StepStatusBuilder
source · #[non_exhaustive]pub struct StepStatusBuilder { /* private fields */ }
Expand description
A builder for StepStatus
.
Implementations§
source§impl StepStatusBuilder
impl StepStatusBuilder
sourcepub fn set_state(self, input: Option<StepState>) -> Self
pub fn set_state(self, input: Option<StepState>) -> Self
The execution state of the cluster step.
sourcepub fn state_change_reason(self, input: StepStateChangeReason) -> Self
pub fn state_change_reason(self, input: StepStateChangeReason) -> Self
The reason for the step execution status change.
sourcepub fn set_state_change_reason(
self,
input: Option<StepStateChangeReason>,
) -> Self
pub fn set_state_change_reason( self, input: Option<StepStateChangeReason>, ) -> Self
The reason for the step execution status change.
sourcepub fn get_state_change_reason(&self) -> &Option<StepStateChangeReason>
pub fn get_state_change_reason(&self) -> &Option<StepStateChangeReason>
The reason for the step execution status change.
sourcepub fn failure_details(self, input: FailureDetails) -> Self
pub fn failure_details(self, input: FailureDetails) -> Self
The details for the step failure including reason, message, and log file path where the root cause was identified.
sourcepub fn set_failure_details(self, input: Option<FailureDetails>) -> Self
pub fn set_failure_details(self, input: Option<FailureDetails>) -> Self
The details for the step failure including reason, message, and log file path where the root cause was identified.
sourcepub fn get_failure_details(&self) -> &Option<FailureDetails>
pub fn get_failure_details(&self) -> &Option<FailureDetails>
The details for the step failure including reason, message, and log file path where the root cause was identified.
sourcepub fn timeline(self, input: StepTimeline) -> Self
pub fn timeline(self, input: StepTimeline) -> Self
The timeline of the cluster step status over time.
sourcepub fn set_timeline(self, input: Option<StepTimeline>) -> Self
pub fn set_timeline(self, input: Option<StepTimeline>) -> Self
The timeline of the cluster step status over time.
sourcepub fn get_timeline(&self) -> &Option<StepTimeline>
pub fn get_timeline(&self) -> &Option<StepTimeline>
The timeline of the cluster step status over time.
sourcepub fn build(self) -> StepStatus
pub fn build(self) -> StepStatus
Consumes the builder and constructs a StepStatus
.
Trait Implementations§
source§impl Clone for StepStatusBuilder
impl Clone for StepStatusBuilder
source§fn clone(&self) -> StepStatusBuilder
fn clone(&self) -> StepStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StepStatusBuilder
impl Debug for StepStatusBuilder
source§impl Default for StepStatusBuilder
impl Default for StepStatusBuilder
source§fn default() -> StepStatusBuilder
fn default() -> StepStatusBuilder
source§impl PartialEq for StepStatusBuilder
impl PartialEq for StepStatusBuilder
impl StructuralPartialEq for StepStatusBuilder
Auto Trait Implementations§
impl Freeze for StepStatusBuilder
impl RefUnwindSafe for StepStatusBuilder
impl Send for StepStatusBuilder
impl Sync for StepStatusBuilder
impl Unpin for StepStatusBuilder
impl UnwindSafe for StepStatusBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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