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
source§fn eq(&self, other: &StepStatusBuilder) -> bool
fn eq(&self, other: &StepStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.