Struct aws_sdk_macie2::error::resource_not_found_exception::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ResourceNotFoundException
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The explanation of the error that occurred.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The explanation of the error that occurred.
sourcepub fn build(self) -> ResourceNotFoundException
pub fn build(self) -> ResourceNotFoundException
Consumes the builder and constructs a ResourceNotFoundException
.