#[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.
This field is required.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 get_shard_iterator(&self) -> &Option<String>
pub fn get_shard_iterator(&self) -> &Option<String>
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 get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
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
.
source§impl GetRecordsInputBuilder
impl GetRecordsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetRecordsOutput, SdkError<GetRecordsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetRecordsOutput, SdkError<GetRecordsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetRecordsInputBuilder
impl Clone for GetRecordsInputBuilder
source§fn clone(&self) -> GetRecordsInputBuilder
fn clone(&self) -> GetRecordsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for GetRecordsInputBuilder
impl PartialEq for GetRecordsInputBuilder
source§fn eq(&self, other: &GetRecordsInputBuilder) -> bool
fn eq(&self, other: &GetRecordsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.