Struct aws_sdk_codepipeline::model::error_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ErrorDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_code(self, input: Option<String>) -> Self
pub fn set_code(self, input: Option<String>) -> Self
The system ID or number code of the error.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The text of the error message.
sourcepub fn build(self) -> ErrorDetails
pub fn build(self) -> ErrorDetails
Consumes the builder and constructs a ErrorDetails
.