Struct aws_sdk_macie::error::internal_exception::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for InternalException.
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
Error code for the exception
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
Error code for the exception
pub fn message(self, input: impl Into<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
sourcepub fn build(self) -> InternalException
pub fn build(self) -> InternalException
Consumes the builder and constructs a InternalException.