Struct aws_sdk_honeycode::operation::batch_upsert_table_rows::builders::BatchUpsertTableRowsOutputBuilder
source · #[non_exhaustive]pub struct BatchUpsertTableRowsOutputBuilder { /* private fields */ }Expand description
A builder for BatchUpsertTableRowsOutput.
Implementations§
source§impl BatchUpsertTableRowsOutputBuilder
impl BatchUpsertTableRowsOutputBuilder
sourcepub fn rows(self, k: impl Into<String>, v: UpsertRowsResult) -> Self
pub fn rows(self, k: impl Into<String>, v: UpsertRowsResult) -> Self
Adds a key-value pair to rows.
To override the contents of this collection use set_rows.
A map with the batch item id as the key and the result of the upsert operation as the value. The result of the upsert operation specifies whether existing rows were updated or a new row was appended, along with the list of row ids that were affected.
sourcepub fn set_rows(self, input: Option<HashMap<String, UpsertRowsResult>>) -> Self
pub fn set_rows(self, input: Option<HashMap<String, UpsertRowsResult>>) -> Self
A map with the batch item id as the key and the result of the upsert operation as the value. The result of the upsert operation specifies whether existing rows were updated or a new row was appended, along with the list of row ids that were affected.
sourcepub fn workbook_cursor(self, input: i64) -> Self
pub fn workbook_cursor(self, input: i64) -> Self
The updated workbook cursor after updating or appending rows in the table.
sourcepub fn set_workbook_cursor(self, input: Option<i64>) -> Self
pub fn set_workbook_cursor(self, input: Option<i64>) -> Self
The updated workbook cursor after updating or appending rows in the table.
sourcepub fn failed_batch_items(self, input: FailedBatchItem) -> Self
pub fn failed_batch_items(self, input: FailedBatchItem) -> Self
Appends an item to failed_batch_items.
To override the contents of this collection use set_failed_batch_items.
The list of batch items in the request that could not be updated or appended in the table. Each element in this list contains one item from the request that could not be updated in the table along with the reason why that item could not be updated or appended.
sourcepub fn set_failed_batch_items(self, input: Option<Vec<FailedBatchItem>>) -> Self
pub fn set_failed_batch_items(self, input: Option<Vec<FailedBatchItem>>) -> Self
The list of batch items in the request that could not be updated or appended in the table. Each element in this list contains one item from the request that could not be updated in the table along with the reason why that item could not be updated or appended.
sourcepub fn build(self) -> BatchUpsertTableRowsOutput
pub fn build(self) -> BatchUpsertTableRowsOutput
Consumes the builder and constructs a BatchUpsertTableRowsOutput.
Trait Implementations§
source§impl Clone for BatchUpsertTableRowsOutputBuilder
impl Clone for BatchUpsertTableRowsOutputBuilder
source§fn clone(&self) -> BatchUpsertTableRowsOutputBuilder
fn clone(&self) -> BatchUpsertTableRowsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchUpsertTableRowsOutputBuilder
impl Default for BatchUpsertTableRowsOutputBuilder
source§fn default() -> BatchUpsertTableRowsOutputBuilder
fn default() -> BatchUpsertTableRowsOutputBuilder
source§impl PartialEq<BatchUpsertTableRowsOutputBuilder> for BatchUpsertTableRowsOutputBuilder
impl PartialEq<BatchUpsertTableRowsOutputBuilder> for BatchUpsertTableRowsOutputBuilder
source§fn eq(&self, other: &BatchUpsertTableRowsOutputBuilder) -> bool
fn eq(&self, other: &BatchUpsertTableRowsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.