Struct aws_sdk_dynamodbstreams::operation::describe_stream::builders::DescribeStreamInputBuilder
source · #[non_exhaustive]pub struct DescribeStreamInputBuilder { /* private fields */ }
Expand description
A builder for DescribeStreamInput
.
Implementations§
source§impl DescribeStreamInputBuilder
impl DescribeStreamInputBuilder
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the stream.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the stream.
sourcepub fn get_stream_arn(&self) -> &Option<String>
pub fn get_stream_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the stream.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of shard objects to return. The upper limit is 100.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of shard objects to return. The upper limit is 100.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
The maximum number of shard objects to return. The upper limit is 100.
sourcepub fn exclusive_start_shard_id(self, input: impl Into<String>) -> Self
pub fn exclusive_start_shard_id(self, input: impl Into<String>) -> Self
The shard ID of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedShardId
in the previous operation.
sourcepub fn set_exclusive_start_shard_id(self, input: Option<String>) -> Self
pub fn set_exclusive_start_shard_id(self, input: Option<String>) -> Self
The shard ID of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedShardId
in the previous operation.
sourcepub fn get_exclusive_start_shard_id(&self) -> &Option<String>
pub fn get_exclusive_start_shard_id(&self) -> &Option<String>
The shard ID of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedShardId
in the previous operation.
sourcepub fn build(self) -> Result<DescribeStreamInput, BuildError>
pub fn build(self) -> Result<DescribeStreamInput, BuildError>
Consumes the builder and constructs a DescribeStreamInput
.
source§impl DescribeStreamInputBuilder
impl DescribeStreamInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeStreamOutput, SdkError<DescribeStreamError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeStreamOutput, SdkError<DescribeStreamError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeStreamInputBuilder
impl Clone for DescribeStreamInputBuilder
source§fn clone(&self) -> DescribeStreamInputBuilder
fn clone(&self) -> DescribeStreamInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeStreamInputBuilder
impl Debug for DescribeStreamInputBuilder
source§impl Default for DescribeStreamInputBuilder
impl Default for DescribeStreamInputBuilder
source§fn default() -> DescribeStreamInputBuilder
fn default() -> DescribeStreamInputBuilder
source§impl PartialEq for DescribeStreamInputBuilder
impl PartialEq for DescribeStreamInputBuilder
source§fn eq(&self, other: &DescribeStreamInputBuilder) -> bool
fn eq(&self, other: &DescribeStreamInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.