Struct aws_sdk_codepipeline::model::failure_details::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for FailureDetails
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn type(self, input: FailureType) -> Self
pub fn type(self, input: FailureType) -> Self
The type of the failure.
sourcepub fn set_type(self, input: Option<FailureType>) -> Self
pub fn set_type(self, input: Option<FailureType>) -> Self
The type of the failure.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The message about the failure.
sourcepub fn external_execution_id(self, input: impl Into<String>) -> Self
pub fn external_execution_id(self, input: impl Into<String>) -> Self
The external ID of the run of the action that failed.
sourcepub fn set_external_execution_id(self, input: Option<String>) -> Self
pub fn set_external_execution_id(self, input: Option<String>) -> Self
The external ID of the run of the action that failed.
sourcepub fn build(self) -> FailureDetails
pub fn build(self) -> FailureDetails
Consumes the builder and constructs a FailureDetails
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more