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 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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<StepStatusBuilder> for StepStatusBuilder
impl PartialEq<StepStatusBuilder> for StepStatusBuilder
source§fn eq(&self, other: &StepStatusBuilder) -> bool
fn eq(&self, other: &StepStatusBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StepStatusBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more