Struct aws_sdk_iotanalytics::types::builders::ChannelSummaryBuilder
source · #[non_exhaustive]pub struct ChannelSummaryBuilder { /* private fields */ }
Expand description
A builder for ChannelSummary
.
Implementations§
source§impl ChannelSummaryBuilder
impl ChannelSummaryBuilder
sourcepub fn channel_name(self, input: impl Into<String>) -> Self
pub fn channel_name(self, input: impl Into<String>) -> Self
The name of the channel.
sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The name of the channel.
sourcepub fn get_channel_name(&self) -> &Option<String>
pub fn get_channel_name(&self) -> &Option<String>
The name of the channel.
sourcepub fn channel_storage(self, input: ChannelStorageSummary) -> Self
pub fn channel_storage(self, input: ChannelStorageSummary) -> Self
Where channel data is stored.
sourcepub fn set_channel_storage(self, input: Option<ChannelStorageSummary>) -> Self
pub fn set_channel_storage(self, input: Option<ChannelStorageSummary>) -> Self
Where channel data is stored.
sourcepub fn get_channel_storage(&self) -> &Option<ChannelStorageSummary>
pub fn get_channel_storage(&self) -> &Option<ChannelStorageSummary>
Where channel data is stored.
sourcepub fn status(self, input: ChannelStatus) -> Self
pub fn status(self, input: ChannelStatus) -> Self
The status of the channel.
sourcepub fn set_status(self, input: Option<ChannelStatus>) -> Self
pub fn set_status(self, input: Option<ChannelStatus>) -> Self
The status of the channel.
sourcepub fn get_status(&self) -> &Option<ChannelStatus>
pub fn get_status(&self) -> &Option<ChannelStatus>
The status of the channel.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the channel was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
When the channel was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the channel was created.
sourcepub fn last_update_time(self, input: DateTime) -> Self
pub fn last_update_time(self, input: DateTime) -> Self
The last time the channel was updated.
sourcepub fn set_last_update_time(self, input: Option<DateTime>) -> Self
pub fn set_last_update_time(self, input: Option<DateTime>) -> Self
The last time the channel was updated.
sourcepub fn get_last_update_time(&self) -> &Option<DateTime>
pub fn get_last_update_time(&self) -> &Option<DateTime>
The last time the channel was updated.
sourcepub fn last_message_arrival_time(self, input: DateTime) -> Self
pub fn last_message_arrival_time(self, input: DateTime) -> Self
The last time when a new message arrived in the channel.
IoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
sourcepub fn set_last_message_arrival_time(self, input: Option<DateTime>) -> Self
pub fn set_last_message_arrival_time(self, input: Option<DateTime>) -> Self
The last time when a new message arrived in the channel.
IoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
sourcepub fn get_last_message_arrival_time(&self) -> &Option<DateTime>
pub fn get_last_message_arrival_time(&self) -> &Option<DateTime>
The last time when a new message arrived in the channel.
IoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
sourcepub fn build(self) -> ChannelSummary
pub fn build(self) -> ChannelSummary
Consumes the builder and constructs a ChannelSummary
.
Trait Implementations§
source§impl Clone for ChannelSummaryBuilder
impl Clone for ChannelSummaryBuilder
source§fn clone(&self) -> ChannelSummaryBuilder
fn clone(&self) -> ChannelSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelSummaryBuilder
impl Debug for ChannelSummaryBuilder
source§impl Default for ChannelSummaryBuilder
impl Default for ChannelSummaryBuilder
source§fn default() -> ChannelSummaryBuilder
fn default() -> ChannelSummaryBuilder
source§impl PartialEq for ChannelSummaryBuilder
impl PartialEq for ChannelSummaryBuilder
source§fn eq(&self, other: &ChannelSummaryBuilder) -> bool
fn eq(&self, other: &ChannelSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.