Struct aws_sdk_sqs::model::batch_result_error_entry::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for BatchResultErrorEntry
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn sender_fault(self, input: bool) -> Self
pub fn sender_fault(self, input: bool) -> Self
Specifies whether the error happened due to the caller of the batch API action.
sourcepub fn set_sender_fault(self, input: Option<bool>) -> Self
pub fn set_sender_fault(self, input: Option<bool>) -> Self
Specifies whether the error happened due to the caller of the batch API action.
sourcepub fn code(self, input: impl Into<String>) -> Self
pub fn code(self, input: impl Into<String>) -> Self
An error code representing why the action failed on this entry.
sourcepub fn set_code(self, input: Option<String>) -> Self
pub fn set_code(self, input: Option<String>) -> Self
An error code representing why the action failed on this entry.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A message explaining why the action failed on this entry.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A message explaining why the action failed on this entry.
sourcepub fn build(self) -> BatchResultErrorEntry
pub fn build(self) -> BatchResultErrorEntry
Consumes the builder and constructs a BatchResultErrorEntry
.