Struct aws_sdk_emr::types::builders::StepSummaryBuilder
source · #[non_exhaustive]pub struct StepSummaryBuilder { /* private fields */ }
Expand description
A builder for StepSummary
.
Implementations§
source§impl StepSummaryBuilder
impl StepSummaryBuilder
sourcepub fn config(self, input: HadoopStepConfig) -> Self
pub fn config(self, input: HadoopStepConfig) -> Self
The Hadoop job configuration of the cluster step.
sourcepub fn set_config(self, input: Option<HadoopStepConfig>) -> Self
pub fn set_config(self, input: Option<HadoopStepConfig>) -> Self
The Hadoop job configuration of the cluster step.
sourcepub fn get_config(&self) -> &Option<HadoopStepConfig>
pub fn get_config(&self) -> &Option<HadoopStepConfig>
The Hadoop job configuration of the cluster step.
sourcepub fn action_on_failure(self, input: ActionOnFailure) -> Self
pub fn action_on_failure(self, input: ActionOnFailure) -> Self
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 set_action_on_failure(self, input: Option<ActionOnFailure>) -> Self
pub fn set_action_on_failure(self, input: Option<ActionOnFailure>) -> Self
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 get_action_on_failure(&self) -> &Option<ActionOnFailure>
pub fn get_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, input: StepStatus) -> Self
pub fn status(self, input: StepStatus) -> Self
The current execution status details of the cluster step.
sourcepub fn set_status(self, input: Option<StepStatus>) -> Self
pub fn set_status(self, input: Option<StepStatus>) -> Self
The current execution status details of the cluster step.
sourcepub fn get_status(&self) -> &Option<StepStatus>
pub fn get_status(&self) -> &Option<StepStatus>
The current execution status details of the cluster step.
sourcepub fn build(self) -> StepSummary
pub fn build(self) -> StepSummary
Consumes the builder and constructs a StepSummary
.
Trait Implementations§
source§impl Clone for StepSummaryBuilder
impl Clone for StepSummaryBuilder
source§fn clone(&self) -> StepSummaryBuilder
fn clone(&self) -> StepSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StepSummaryBuilder
impl Debug for StepSummaryBuilder
source§impl Default for StepSummaryBuilder
impl Default for StepSummaryBuilder
source§fn default() -> StepSummaryBuilder
fn default() -> StepSummaryBuilder
source§impl PartialEq for StepSummaryBuilder
impl PartialEq for StepSummaryBuilder
source§fn eq(&self, other: &StepSummaryBuilder) -> bool
fn eq(&self, other: &StepSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.