pub struct Builder { /* private fields */ }
Expand description
A builder for TooManyRequestsException
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn limit_type(self, input: impl Into<String>) -> Self
pub fn limit_type(self, input: impl Into<String>) -> Self
The type of limit that was exceeded.
sourcepub fn set_limit_type(self, input: Option<String>) -> Self
pub fn set_limit_type(self, input: Option<String>) -> Self
The type of limit that was exceeded.
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 build(self) -> TooManyRequestsException
pub fn build(self) -> TooManyRequestsException
Consumes the builder and constructs a TooManyRequestsException
.