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 get_rows(&self) -> &Option<HashMap<String, UpsertRowsResult>>
pub fn get_rows(&self) -> &Option<HashMap<String, UpsertRowsResult>>
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.
This field is required.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 get_workbook_cursor(&self) -> &Option<i64>
pub fn get_workbook_cursor(&self) -> &Option<i64>
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 get_failed_batch_items(&self) -> &Option<Vec<FailedBatchItem>>
pub fn get_failed_batch_items(&self) -> &Option<Vec<FailedBatchItem>>
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) -> Result<BatchUpsertTableRowsOutput, BuildError>
pub fn build(self) -> Result<BatchUpsertTableRowsOutput, BuildError>
Consumes the builder and constructs a BatchUpsertTableRowsOutput
.
This method will fail if any of the following fields are not set:
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 for BatchUpsertTableRowsOutputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for BatchUpsertTableRowsOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchUpsertTableRowsOutputBuilder
impl RefUnwindSafe for BatchUpsertTableRowsOutputBuilder
impl Send for BatchUpsertTableRowsOutputBuilder
impl Sync for BatchUpsertTableRowsOutputBuilder
impl Unpin for BatchUpsertTableRowsOutputBuilder
impl UnwindSafe for BatchUpsertTableRowsOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more