Struct aws_sdk_glue::model::error_details::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ErrorDetails.
Implementations§
source§impl Builder
impl Builder
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The error code for an error.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The error code for an error.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message for an error.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message for an error.
sourcepub fn build(self) -> ErrorDetails
pub fn build(self) -> ErrorDetails
Consumes the builder and constructs a ErrorDetails.