Struct aws_sdk_cloudsearch::error::internal_exception::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for InternalException.
Implementations§
source§impl Builder
impl Builder
sourcepub fn code(self, input: impl Into<String>) -> Self
pub fn code(self, input: impl Into<String>) -> Self
A machine-parsable string error or warning code.
sourcepub fn set_code(self, input: Option<String>) -> Self
pub fn set_code(self, input: Option<String>) -> Self
A machine-parsable string error or warning code.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A human-readable string error or warning message.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A human-readable string error or warning message.
sourcepub fn build(self) -> InternalException
pub fn build(self) -> InternalException
Consumes the builder and constructs a InternalException.