Struct aws_sdk_emr::types::StepSummary
source · #[non_exhaustive]pub struct StepSummary {
pub id: Option<String>,
pub name: Option<String>,
pub config: Option<HadoopStepConfig>,
pub action_on_failure: Option<ActionOnFailure>,
pub status: Option<StepStatus>,
}
Expand description
The summary of the cluster step.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The identifier of the cluster step.
name: Option<String>
The name of the cluster step.
config: Option<HadoopStepConfig>
The Hadoop job configuration of the cluster step.
action_on_failure: Option<ActionOnFailure>
The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility.
status: Option<StepStatus>
The current execution status details of the cluster step.
Implementations§
source§impl StepSummary
impl StepSummary
sourcepub fn config(&self) -> Option<&HadoopStepConfig>
pub fn config(&self) -> Option<&HadoopStepConfig>
The Hadoop job configuration of the cluster step.
sourcepub fn action_on_failure(&self) -> Option<&ActionOnFailure>
pub fn action_on_failure(&self) -> Option<&ActionOnFailure>
The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility.
sourcepub fn status(&self) -> Option<&StepStatus>
pub fn status(&self) -> Option<&StepStatus>
The current execution status details of the cluster step.
source§impl StepSummary
impl StepSummary
sourcepub fn builder() -> StepSummaryBuilder
pub fn builder() -> StepSummaryBuilder
Creates a new builder-style object to manufacture StepSummary
.
Trait Implementations§
source§impl Clone for StepSummary
impl Clone for StepSummary
source§fn clone(&self) -> StepSummary
fn clone(&self) -> StepSummary
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 StepSummary
impl Debug for StepSummary
source§impl PartialEq for StepSummary
impl PartialEq for StepSummary
source§fn eq(&self, other: &StepSummary) -> bool
fn eq(&self, other: &StepSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StepSummary
Auto Trait Implementations§
impl RefUnwindSafe for StepSummary
impl Send for StepSummary
impl Sync for StepSummary
impl Unpin for StepSummary
impl UnwindSafe for StepSummary
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
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>
Creates a shared type from an unshared type.