Struct aws_sdk_athena::error::too_many_requests_exception::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TooManyRequestsException
.
Implementations§
source§impl Builder
impl Builder
pub fn message(self, input: impl Into<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
sourcepub fn reason(self, input: ThrottleReason) -> Self
pub fn reason(self, input: ThrottleReason) -> Self
The reason for the query throttling, for example, when it exceeds the concurrent query limit.
sourcepub fn set_reason(self, input: Option<ThrottleReason>) -> Self
pub fn set_reason(self, input: Option<ThrottleReason>) -> Self
The reason for the query throttling, for example, when it exceeds the concurrent query limit.
sourcepub fn build(self) -> TooManyRequestsException
pub fn build(self) -> TooManyRequestsException
Consumes the builder and constructs a TooManyRequestsException
.