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
impl StructuralPartialEq for FailureDetailsBuilder
Auto Trait Implementations§
impl Freeze for FailureDetailsBuilder
impl RefUnwindSafe for FailureDetailsBuilder
impl Send for FailureDetailsBuilder
impl Sync for FailureDetailsBuilder
impl Unpin for FailureDetailsBuilder
impl UnwindSafe for FailureDetailsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more