pub struct Builder { /* private fields */ }Expand description
A builder for BatchPutMessageErrorEntry.
Implementations§
source§impl Builder
impl Builder
sourcepub fn message_id(self, input: impl Into<String>) -> Self
pub fn message_id(self, input: impl Into<String>) -> Self
The ID of the message that caused the error. See the value corresponding to the messageId key in the message object.
sourcepub fn set_message_id(self, input: Option<String>) -> Self
pub fn set_message_id(self, input: Option<String>) -> Self
The ID of the message that caused the error. See the value corresponding to the messageId key in the message object.
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The code associated with the error.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The code associated with the error.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The message associated with the error.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The message associated with the error.
sourcepub fn build(self) -> BatchPutMessageErrorEntry
pub fn build(self) -> BatchPutMessageErrorEntry
Consumes the builder and constructs a BatchPutMessageErrorEntry.