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.
This field is required.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 ==
.impl StructuralPartialEq for DescribeStreamInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeStreamInputBuilder
impl RefUnwindSafe for DescribeStreamInputBuilder
impl Send for DescribeStreamInputBuilder
impl Sync for DescribeStreamInputBuilder
impl Unpin for DescribeStreamInputBuilder
impl UnwindSafe for DescribeStreamInputBuilder
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> 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