Struct aws_sdk_kinesis::types::builders::StreamSummaryBuilder
source · #[non_exhaustive]pub struct StreamSummaryBuilder { /* private fields */ }Expand description
A builder for StreamSummary.
Implementations§
source§impl StreamSummaryBuilder
impl StreamSummaryBuilder
sourcepub fn stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The name of a stream.
This field is required.sourcepub fn set_stream_name(self, input: Option<String>) -> Self
pub fn set_stream_name(self, input: Option<String>) -> Self
The name of a stream.
sourcepub fn get_stream_name(&self) -> &Option<String>
pub fn get_stream_name(&self) -> &Option<String>
The name of a stream.
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The ARN of 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 ARN of the stream.
sourcepub fn get_stream_arn(&self) -> &Option<String>
pub fn get_stream_arn(&self) -> &Option<String>
The ARN of the stream.
sourcepub fn stream_status(self, input: StreamStatus) -> Self
pub fn stream_status(self, input: StreamStatus) -> Self
The status of the stream.
This field is required.sourcepub fn set_stream_status(self, input: Option<StreamStatus>) -> Self
pub fn set_stream_status(self, input: Option<StreamStatus>) -> Self
The status of the stream.
sourcepub fn get_stream_status(&self) -> &Option<StreamStatus>
pub fn get_stream_status(&self) -> &Option<StreamStatus>
The status of the stream.
sourcepub fn stream_mode_details(self, input: StreamModeDetails) -> Self
pub fn stream_mode_details(self, input: StreamModeDetails) -> Self
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
sourcepub fn set_stream_mode_details(self, input: Option<StreamModeDetails>) -> Self
pub fn set_stream_mode_details(self, input: Option<StreamModeDetails>) -> Self
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
sourcepub fn get_stream_mode_details(&self) -> &Option<StreamModeDetails>
pub fn get_stream_mode_details(&self) -> &Option<StreamModeDetails>
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
sourcepub fn stream_creation_timestamp(self, input: DateTime) -> Self
pub fn stream_creation_timestamp(self, input: DateTime) -> Self
The timestamp at which the stream was created.
sourcepub fn set_stream_creation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_stream_creation_timestamp(self, input: Option<DateTime>) -> Self
The timestamp at which the stream was created.
sourcepub fn get_stream_creation_timestamp(&self) -> &Option<DateTime>
pub fn get_stream_creation_timestamp(&self) -> &Option<DateTime>
The timestamp at which the stream was created.
sourcepub fn build(self) -> Result<StreamSummary, BuildError>
pub fn build(self) -> Result<StreamSummary, BuildError>
Consumes the builder and constructs a StreamSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for StreamSummaryBuilder
impl Clone for StreamSummaryBuilder
source§fn clone(&self) -> StreamSummaryBuilder
fn clone(&self) -> StreamSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StreamSummaryBuilder
impl Debug for StreamSummaryBuilder
source§impl Default for StreamSummaryBuilder
impl Default for StreamSummaryBuilder
source§fn default() -> StreamSummaryBuilder
fn default() -> StreamSummaryBuilder
source§impl PartialEq for StreamSummaryBuilder
impl PartialEq for StreamSummaryBuilder
source§fn eq(&self, other: &StreamSummaryBuilder) -> bool
fn eq(&self, other: &StreamSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.