pub struct Builder { /* private fields */ }
Expand description
A builder for BadRequestException
.
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
400
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
400
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
One of the parameters in the request is invalid.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
One of the parameters in the request is invalid.
sourcepub fn build(self) -> BadRequestException
pub fn build(self) -> BadRequestException
Consumes the builder and constructs a BadRequestException
.