#[non_exhaustive]pub struct GetRecordsOutputBuilder { /* private fields */ }
Expand description
A builder for GetRecordsOutput
.
Implementations§
source§impl GetRecordsOutputBuilder
impl GetRecordsOutputBuilder
sourcepub fn records(self, input: Record) -> Self
pub fn records(self, input: Record) -> Self
Appends an item to records
.
To override the contents of this collection use set_records
.
The stream records from the shard, which were retrieved using the shard iterator.
sourcepub fn set_records(self, input: Option<Vec<Record>>) -> Self
pub fn set_records(self, input: Option<Vec<Record>>) -> Self
The stream records from the shard, which were retrieved using the shard iterator.
sourcepub fn get_records(&self) -> &Option<Vec<Record>>
pub fn get_records(&self) -> &Option<Vec<Record>>
The stream records from the shard, which were retrieved using the shard iterator.
sourcepub fn next_shard_iterator(self, input: impl Into<String>) -> Self
pub fn next_shard_iterator(self, input: impl Into<String>) -> Self
The next position in the shard from which to start sequentially reading stream records. If set to null
, the shard has been closed and the requested iterator will not return any more data.
sourcepub fn set_next_shard_iterator(self, input: Option<String>) -> Self
pub fn set_next_shard_iterator(self, input: Option<String>) -> Self
The next position in the shard from which to start sequentially reading stream records. If set to null
, the shard has been closed and the requested iterator will not return any more data.
sourcepub fn get_next_shard_iterator(&self) -> &Option<String>
pub fn get_next_shard_iterator(&self) -> &Option<String>
The next position in the shard from which to start sequentially reading stream records. If set to null
, the shard has been closed and the requested iterator will not return any more data.
sourcepub fn build(self) -> GetRecordsOutput
pub fn build(self) -> GetRecordsOutput
Consumes the builder and constructs a GetRecordsOutput
.
Trait Implementations§
source§impl Clone for GetRecordsOutputBuilder
impl Clone for GetRecordsOutputBuilder
source§fn clone(&self) -> GetRecordsOutputBuilder
fn clone(&self) -> GetRecordsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetRecordsOutputBuilder
impl Debug for GetRecordsOutputBuilder
source§impl Default for GetRecordsOutputBuilder
impl Default for GetRecordsOutputBuilder
source§fn default() -> GetRecordsOutputBuilder
fn default() -> GetRecordsOutputBuilder
source§impl PartialEq for GetRecordsOutputBuilder
impl PartialEq for GetRecordsOutputBuilder
source§fn eq(&self, other: &GetRecordsOutputBuilder) -> bool
fn eq(&self, other: &GetRecordsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.