Struct aws_sdk_emr::types::builders::FailureDetailsBuilder
source · #[non_exhaustive]pub struct FailureDetailsBuilder { /* private fields */ }
Expand description
A builder for FailureDetails
.
Implementations§
source§impl FailureDetailsBuilder
impl FailureDetailsBuilder
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The descriptive message including the error the Amazon EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The descriptive message including the error the Amazon EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
The descriptive message including the error the Amazon EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.
sourcepub fn log_file(self, input: impl Into<String>) -> Self
pub fn log_file(self, input: impl Into<String>) -> Self
The path to the log file where the step failure root cause was originally recorded.
sourcepub fn set_log_file(self, input: Option<String>) -> Self
pub fn set_log_file(self, input: Option<String>) -> Self
The path to the log file where the step failure root cause was originally recorded.
sourcepub fn get_log_file(&self) -> &Option<String>
pub fn get_log_file(&self) -> &Option<String>
The path to the log file where the step failure root cause was originally recorded.
sourcepub fn build(self) -> FailureDetails
pub fn build(self) -> FailureDetails
Consumes the builder and constructs a FailureDetails
.
Trait Implementations§
source§impl Clone for FailureDetailsBuilder
impl Clone for FailureDetailsBuilder
source§fn clone(&self) -> FailureDetailsBuilder
fn clone(&self) -> FailureDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FailureDetailsBuilder
impl Debug for FailureDetailsBuilder
source§impl Default for FailureDetailsBuilder
impl Default for FailureDetailsBuilder
source§fn default() -> FailureDetailsBuilder
fn default() -> FailureDetailsBuilder
source§impl PartialEq for FailureDetailsBuilder
impl PartialEq for FailureDetailsBuilder
source§fn eq(&self, other: &FailureDetailsBuilder) -> bool
fn eq(&self, other: &FailureDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.