Struct aws_sdk_honeycode::types::builders::UpdateRowDataBuilder
source · #[non_exhaustive]pub struct UpdateRowDataBuilder { /* private fields */ }
Expand description
A builder for UpdateRowData
.
Implementations§
source§impl UpdateRowDataBuilder
impl UpdateRowDataBuilder
sourcepub fn row_id(self, input: impl Into<String>) -> Self
pub fn row_id(self, input: impl Into<String>) -> Self
The id of the row that needs to be updated.
This field is required.sourcepub fn set_row_id(self, input: Option<String>) -> Self
pub fn set_row_id(self, input: Option<String>) -> Self
The id of the row that needs to be updated.
sourcepub fn get_row_id(&self) -> &Option<String>
pub fn get_row_id(&self) -> &Option<String>
The id of the row that needs to be updated.
sourcepub fn cells_to_update(self, k: impl Into<String>, v: CellInput) -> Self
pub fn cells_to_update(self, k: impl Into<String>, v: CellInput) -> Self
Adds a key-value pair to cells_to_update
.
To override the contents of this collection use set_cells_to_update
.
A map representing the cells to update in the given row. The key is the column id of the cell and the value is the CellInput object that represents the data to set in that cell.
sourcepub fn set_cells_to_update(
self,
input: Option<HashMap<String, CellInput>>
) -> Self
pub fn set_cells_to_update( self, input: Option<HashMap<String, CellInput>> ) -> Self
A map representing the cells to update in the given row. The key is the column id of the cell and the value is the CellInput object that represents the data to set in that cell.
sourcepub fn get_cells_to_update(&self) -> &Option<HashMap<String, CellInput>>
pub fn get_cells_to_update(&self) -> &Option<HashMap<String, CellInput>>
A map representing the cells to update in the given row. The key is the column id of the cell and the value is the CellInput object that represents the data to set in that cell.
sourcepub fn build(self) -> Result<UpdateRowData, BuildError>
pub fn build(self) -> Result<UpdateRowData, BuildError>
Consumes the builder and constructs a UpdateRowData
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateRowDataBuilder
impl Clone for UpdateRowDataBuilder
source§fn clone(&self) -> UpdateRowDataBuilder
fn clone(&self) -> UpdateRowDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateRowDataBuilder
impl Debug for UpdateRowDataBuilder
source§impl Default for UpdateRowDataBuilder
impl Default for UpdateRowDataBuilder
source§fn default() -> UpdateRowDataBuilder
fn default() -> UpdateRowDataBuilder
source§impl PartialEq for UpdateRowDataBuilder
impl PartialEq for UpdateRowDataBuilder
source§fn eq(&self, other: &UpdateRowDataBuilder) -> bool
fn eq(&self, other: &UpdateRowDataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRowDataBuilder
Auto Trait Implementations§
impl Freeze for UpdateRowDataBuilder
impl RefUnwindSafe for UpdateRowDataBuilder
impl Send for UpdateRowDataBuilder
impl Sync for UpdateRowDataBuilder
impl Unpin for UpdateRowDataBuilder
impl UnwindSafe for UpdateRowDataBuilder
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