Struct aws_sdk_honeycode::model::create_row_data::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateRowData
.
Implementations
sourceimpl Builder
impl Builder
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.
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 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 build(self) -> CreateRowData
pub fn build(self) -> CreateRowData
Consumes the builder and constructs a CreateRowData
.