Struct aws_sdk_codepipeline::model::failure_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FailureDetails
.
Implementations§
source§impl 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
.