pub struct Builder { /* private fields */ }Expand description
A builder for InvalidAllowedPatternException.
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 request doesn't meet the regular expression requirement.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The request doesn't meet the regular expression requirement.
sourcepub fn build(self) -> InvalidAllowedPatternException
pub fn build(self) -> InvalidAllowedPatternException
Consumes the builder and constructs a InvalidAllowedPatternException.