Struct aws_sdk_honeycode::types::builders::CreateRowDataBuilder
source · #[non_exhaustive]pub struct CreateRowDataBuilder { /* private fields */ }
Expand description
A builder for CreateRowData
.
Implementations§
source§impl CreateRowDataBuilder
impl CreateRowDataBuilder
sourcepub fn batch_item_id(self, input: impl Into<String>) -> Self
pub fn batch_item_id(self, input: impl Into<String>) -> Self
An external identifier that represents the single row that is being created as part of the BatchCreateTableRows request. This can be any string that you can use to identify the row in the request. The BatchCreateTableRows API puts the batch item id in the results to allow you to link data in the request to data in the results.
This field is required.sourcepub fn set_batch_item_id(self, input: Option<String>) -> Self
pub fn set_batch_item_id(self, input: Option<String>) -> Self
An external identifier that represents the single row that is being created as part of the BatchCreateTableRows request. This can be any string that you can use to identify the row in the request. The BatchCreateTableRows API puts the batch item id in the results to allow you to link data in the request to data in the results.
sourcepub fn get_batch_item_id(&self) -> &Option<String>
pub fn get_batch_item_id(&self) -> &Option<String>
An external identifier that represents the single row that is being created as part of the BatchCreateTableRows request. This can be any string that you can use to identify the row in the request. The BatchCreateTableRows API puts the batch item id in the results to allow you to link data in the request to data in the results.
sourcepub fn cells_to_create(self, k: impl Into<String>, v: CellInput) -> Self
pub fn cells_to_create(self, k: impl Into<String>, v: CellInput) -> Self
Adds a key-value pair to cells_to_create
.
To override the contents of this collection use set_cells_to_create
.
A map representing the cells to create in the new 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_create(
self,
input: Option<HashMap<String, CellInput>>
) -> Self
pub fn set_cells_to_create( self, input: Option<HashMap<String, CellInput>> ) -> Self
A map representing the cells to create in the new 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_create(&self) -> &Option<HashMap<String, CellInput>>
pub fn get_cells_to_create(&self) -> &Option<HashMap<String, CellInput>>
A map representing the cells to create in the new 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<CreateRowData, BuildError>
pub fn build(self) -> Result<CreateRowData, BuildError>
Consumes the builder and constructs a CreateRowData
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateRowDataBuilder
impl Clone for CreateRowDataBuilder
source§fn clone(&self) -> CreateRowDataBuilder
fn clone(&self) -> CreateRowDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRowDataBuilder
impl Debug for CreateRowDataBuilder
source§impl Default for CreateRowDataBuilder
impl Default for CreateRowDataBuilder
source§fn default() -> CreateRowDataBuilder
fn default() -> CreateRowDataBuilder
source§impl PartialEq for CreateRowDataBuilder
impl PartialEq for CreateRowDataBuilder
source§fn eq(&self, other: &CreateRowDataBuilder) -> bool
fn eq(&self, other: &CreateRowDataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateRowDataBuilder
Auto Trait Implementations§
impl Freeze for CreateRowDataBuilder
impl RefUnwindSafe for CreateRowDataBuilder
impl Send for CreateRowDataBuilder
impl Sync for CreateRowDataBuilder
impl Unpin for CreateRowDataBuilder
impl UnwindSafe for CreateRowDataBuilder
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