Struct aws_sdk_dynamodb::model::batch_statement_error::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for BatchStatementError
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn code(self, input: BatchStatementErrorCodeEnum) -> Self
pub fn code(self, input: BatchStatementErrorCodeEnum) -> Self
The error code associated with the failed PartiQL batch statement.
sourcepub fn set_code(self, input: Option<BatchStatementErrorCodeEnum>) -> Self
pub fn set_code(self, input: Option<BatchStatementErrorCodeEnum>) -> Self
The error code associated with the failed PartiQL batch statement.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The error message associated with the PartiQL batch response.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The error message associated with the PartiQL batch response.
sourcepub fn build(self) -> BatchStatementError
pub fn build(self) -> BatchStatementError
Consumes the builder and constructs a BatchStatementError
.