Struct aws_sdk_chime::error::service_failure_exception::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ServiceFailureException
.
Implementations§
source§impl Builder
impl Builder
pub fn code(self, input: ErrorCode) -> Self
pub fn set_code(self, input: Option<ErrorCode>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
sourcepub fn build(self) -> ServiceFailureException
pub fn build(self) -> ServiceFailureException
Consumes the builder and constructs a ServiceFailureException
.