Struct aws_sdk_kafka::model::error_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ErrorInfo
.
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
A number describing the error programmatically.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
A number describing the error programmatically.
sourcepub fn error_string(self, input: impl Into<String>) -> Self
pub fn error_string(self, input: impl Into<String>) -> Self
An optional field to provide more details about the error.
sourcepub fn set_error_string(self, input: Option<String>) -> Self
pub fn set_error_string(self, input: Option<String>) -> Self
An optional field to provide more details about the error.