pub struct Builder { /* private fields */ }
Expand description
A builder for InternalServerException
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
Sends an Internal Failure Exception message.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
Sends an Internal Failure Exception message.
sourcepub fn build(self) -> InternalServerException
pub fn build(self) -> InternalServerException
Consumes the builder and constructs a InternalServerException
.