Struct aws_sdk_iot::model::stream_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for StreamSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_stream_id(self, input: Option<String>) -> Self
pub fn set_stream_id(self, input: Option<String>) -> Self
The stream ID.
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The stream ARN.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The stream ARN.
sourcepub fn stream_version(self, input: i32) -> Self
pub fn stream_version(self, input: i32) -> Self
The stream version.
sourcepub fn set_stream_version(self, input: Option<i32>) -> Self
pub fn set_stream_version(self, input: Option<i32>) -> Self
The stream version.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the stream.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the stream.
sourcepub fn build(self) -> StreamSummary
pub fn build(self) -> StreamSummary
Consumes the builder and constructs a StreamSummary
.