#[non_exhaustive]pub struct GetRecordsInputBuilder { /* private fields */ }
Expand description
A builder for GetRecordsInput
.
Implementations§
source§impl GetRecordsInputBuilder
impl GetRecordsInputBuilder
sourcepub fn shard_iterator(self, input: impl Into<String>) -> Self
pub fn shard_iterator(self, input: impl Into<String>) -> Self
A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.
sourcepub fn set_shard_iterator(self, input: Option<String>) -> Self
pub fn set_shard_iterator(self, input: Option<String>) -> Self
A shard iterator that was retrieved from a previous GetShardIterator operation. This iterator can be used to access the stream records in this shard.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of records to return from the shard. The upper limit is 1000.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of records to return from the shard. The upper limit is 1000.
sourcepub fn build(self) -> Result<GetRecordsInput, BuildError>
pub fn build(self) -> Result<GetRecordsInput, BuildError>
Consumes the builder and constructs a GetRecordsInput
.
Trait Implementations§
source§impl Clone for GetRecordsInputBuilder
impl Clone for GetRecordsInputBuilder
source§fn clone(&self) -> GetRecordsInputBuilder
fn clone(&self) -> GetRecordsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetRecordsInputBuilder
impl Debug for GetRecordsInputBuilder
source§impl Default for GetRecordsInputBuilder
impl Default for GetRecordsInputBuilder
source§fn default() -> GetRecordsInputBuilder
fn default() -> GetRecordsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetRecordsInputBuilder> for GetRecordsInputBuilder
impl PartialEq<GetRecordsInputBuilder> for GetRecordsInputBuilder
source§fn eq(&self, other: &GetRecordsInputBuilder) -> bool
fn eq(&self, other: &GetRecordsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.