Struct aws_sdk_glue::model::column_error::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ColumnError.
Implementations§
source§impl Builder
impl Builder
sourcepub fn column_name(self, input: impl Into<String>) -> Self
pub fn column_name(self, input: impl Into<String>) -> Self
The name of the column that failed.
sourcepub fn set_column_name(self, input: Option<String>) -> Self
pub fn set_column_name(self, input: Option<String>) -> Self
The name of the column that failed.
sourcepub fn error(self, input: ErrorDetail) -> Self
pub fn error(self, input: ErrorDetail) -> Self
An error message with the reason for the failure of an operation.
sourcepub fn set_error(self, input: Option<ErrorDetail>) -> Self
pub fn set_error(self, input: Option<ErrorDetail>) -> Self
An error message with the reason for the failure of an operation.
sourcepub fn build(self) -> ColumnError
pub fn build(self) -> ColumnError
Consumes the builder and constructs a ColumnError.