Struct aws_sdk_lambda::error::too_many_requests_exception::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TooManyRequestsException
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn retry_after_seconds(self, input: impl Into<String>) -> Self
pub fn retry_after_seconds(self, input: impl Into<String>) -> Self
The number of seconds the caller should wait before retrying.
sourcepub fn set_retry_after_seconds(self, input: Option<String>) -> Self
pub fn set_retry_after_seconds(self, input: Option<String>) -> Self
The number of seconds the caller should wait before retrying.
pub fn type(self, input: impl Into<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
pub fn reason(self, input: ThrottleReason) -> Self
pub fn set_reason(self, input: Option<ThrottleReason>) -> Self
sourcepub fn build(self) -> TooManyRequestsException
pub fn build(self) -> TooManyRequestsException
Consumes the builder and constructs a TooManyRequestsException
.