Struct aws_sdk_emr::model::step_state_change_reason::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for StepStateChangeReason.
Implementations§
source§impl Builder
impl Builder
sourcepub fn code(self, input: StepStateChangeReasonCode) -> Self
pub fn code(self, input: StepStateChangeReasonCode) -> Self
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
sourcepub fn set_code(self, input: Option<StepStateChangeReasonCode>) -> Self
pub fn set_code(self, input: Option<StepStateChangeReasonCode>) -> Self
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The descriptive message for the state change reason.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The descriptive message for the state change reason.
sourcepub fn build(self) -> StepStateChangeReason
pub fn build(self) -> StepStateChangeReason
Consumes the builder and constructs a StepStateChangeReason.