Struct aws_sdk_dynamodbstreams::types::builders::StreamBuilder
source · #[non_exhaustive]pub struct StreamBuilder { /* private fields */ }
Expand description
A builder for Stream
.
Implementations§
source§impl StreamBuilder
impl StreamBuilder
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 table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The DynamoDB table with which the stream is associated.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The DynamoDB table with which the stream is associated.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The DynamoDB table with which the stream is associated.
sourcepub fn stream_label(self, input: impl Into<String>) -> Self
pub fn stream_label(self, input: impl Into<String>) -> Self
A timestamp, in ISO 8601 format, for this stream.
Note that LatestStreamLabel
is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique:
-
the Amazon Web Services customer ID.
-
the table name
-
the
StreamLabel
sourcepub fn set_stream_label(self, input: Option<String>) -> Self
pub fn set_stream_label(self, input: Option<String>) -> Self
A timestamp, in ISO 8601 format, for this stream.
Note that LatestStreamLabel
is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique:
-
the Amazon Web Services customer ID.
-
the table name
-
the
StreamLabel
sourcepub fn get_stream_label(&self) -> &Option<String>
pub fn get_stream_label(&self) -> &Option<String>
A timestamp, in ISO 8601 format, for this stream.
Note that LatestStreamLabel
is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique:
-
the Amazon Web Services customer ID.
-
the table name
-
the
StreamLabel
Trait Implementations§
source§impl Clone for StreamBuilder
impl Clone for StreamBuilder
source§fn clone(&self) -> StreamBuilder
fn clone(&self) -> StreamBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamBuilder
impl Debug for StreamBuilder
source§impl Default for StreamBuilder
impl Default for StreamBuilder
source§fn default() -> StreamBuilder
fn default() -> StreamBuilder
source§impl PartialEq for StreamBuilder
impl PartialEq for StreamBuilder
source§fn eq(&self, other: &StreamBuilder) -> bool
fn eq(&self, other: &StreamBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.