#[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
impl StructuralPartialEq for GetRecordsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetRecordsOutputBuilder
impl RefUnwindSafe for GetRecordsOutputBuilder
impl Send for GetRecordsOutputBuilder
impl Sync for GetRecordsOutputBuilder
impl Unpin for GetRecordsOutputBuilder
impl UnwindSafe for GetRecordsOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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