Struct aws_sdk_amplifybackend::error::not_found_exception::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NotFoundException
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
An error message to inform that the request has failed.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
An error message to inform that the request has failed.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The type of resource that is not found.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The type of resource that is not found.
sourcepub fn build(self) -> NotFoundException
pub fn build(self) -> NotFoundException
Consumes the builder and constructs a NotFoundException
.