Struct aws_sdk_backupgateway::error::throttling_exception::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ThrottlingException
.
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
Error: TPS has been limited to protect against intentional or unintentional high request volumes.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
Error: TPS has been limited to protect against intentional or unintentional high request volumes.
pub fn message(self, input: impl Into<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
sourcepub fn build(self) -> ThrottlingException
pub fn build(self) -> ThrottlingException
Consumes the builder and constructs a ThrottlingException
.