Struct aws_sdk_honeycode::types::builders::UpsertRowsResultBuilder
source · #[non_exhaustive]pub struct UpsertRowsResultBuilder { /* private fields */ }
Expand description
A builder for UpsertRowsResult
.
Implementations§
source§impl UpsertRowsResultBuilder
impl UpsertRowsResultBuilder
sourcepub fn row_ids(self, input: impl Into<String>) -> Self
pub fn row_ids(self, input: impl Into<String>) -> Self
Appends an item to row_ids
.
To override the contents of this collection use set_row_ids
.
The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an update, this list could potentially contain multiple rows that matched the filter and hence got updated. If the upsert resulted in an append, this list would only have the single row that was appended.
sourcepub fn set_row_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_row_ids(self, input: Option<Vec<String>>) -> Self
The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an update, this list could potentially contain multiple rows that matched the filter and hence got updated. If the upsert resulted in an append, this list would only have the single row that was appended.
sourcepub fn get_row_ids(&self) -> &Option<Vec<String>>
pub fn get_row_ids(&self) -> &Option<Vec<String>>
The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an update, this list could potentially contain multiple rows that matched the filter and hence got updated. If the upsert resulted in an append, this list would only have the single row that was appended.
sourcepub fn upsert_action(self, input: UpsertAction) -> Self
pub fn upsert_action(self, input: UpsertAction) -> Self
The result of the upsert action.
This field is required.sourcepub fn set_upsert_action(self, input: Option<UpsertAction>) -> Self
pub fn set_upsert_action(self, input: Option<UpsertAction>) -> Self
The result of the upsert action.
sourcepub fn get_upsert_action(&self) -> &Option<UpsertAction>
pub fn get_upsert_action(&self) -> &Option<UpsertAction>
The result of the upsert action.
sourcepub fn build(self) -> Result<UpsertRowsResult, BuildError>
pub fn build(self) -> Result<UpsertRowsResult, BuildError>
Consumes the builder and constructs a UpsertRowsResult
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpsertRowsResultBuilder
impl Clone for UpsertRowsResultBuilder
source§fn clone(&self) -> UpsertRowsResultBuilder
fn clone(&self) -> UpsertRowsResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpsertRowsResultBuilder
impl Debug for UpsertRowsResultBuilder
source§impl Default for UpsertRowsResultBuilder
impl Default for UpsertRowsResultBuilder
source§fn default() -> UpsertRowsResultBuilder
fn default() -> UpsertRowsResultBuilder
source§impl PartialEq for UpsertRowsResultBuilder
impl PartialEq for UpsertRowsResultBuilder
source§fn eq(&self, other: &UpsertRowsResultBuilder) -> bool
fn eq(&self, other: &UpsertRowsResultBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpsertRowsResultBuilder
Auto Trait Implementations§
impl Freeze for UpsertRowsResultBuilder
impl RefUnwindSafe for UpsertRowsResultBuilder
impl Send for UpsertRowsResultBuilder
impl Sync for UpsertRowsResultBuilder
impl Unpin for UpsertRowsResultBuilder
impl UnwindSafe for UpsertRowsResultBuilder
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