Struct aws_sdk_iotanalytics::types::builders::ChannelBuilder
source · #[non_exhaustive]pub struct ChannelBuilder { /* private fields */ }
Expand description
A builder for Channel
.
Implementations§
source§impl ChannelBuilder
impl ChannelBuilder
sourcepub fn storage(self, input: ChannelStorage) -> Self
pub fn storage(self, input: ChannelStorage) -> Self
Where channel data is stored. You can choose one of serviceManagedS3
or customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You can't change this storage option after the channel is created.
sourcepub fn set_storage(self, input: Option<ChannelStorage>) -> Self
pub fn set_storage(self, input: Option<ChannelStorage>) -> Self
Where channel data is stored. You can choose one of serviceManagedS3
or customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You can't change this storage option after the channel is created.
sourcepub fn get_storage(&self) -> &Option<ChannelStorage>
pub fn get_storage(&self) -> &Option<ChannelStorage>
Where channel data is stored. You can choose one of serviceManagedS3
or customerManagedS3
storage. If not specified, the default is serviceManagedS3
. You can't change this storage option after the channel is created.
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 retention_period(self, input: RetentionPeriod) -> Self
pub fn retention_period(self, input: RetentionPeriod) -> Self
How long, in days, message data is kept for the channel.
sourcepub fn set_retention_period(self, input: Option<RetentionPeriod>) -> Self
pub fn set_retention_period(self, input: Option<RetentionPeriod>) -> Self
How long, in days, message data is kept for the channel.
sourcepub fn get_retention_period(&self) -> &Option<RetentionPeriod>
pub fn get_retention_period(&self) -> &Option<RetentionPeriod>
How long, in days, message data is kept for 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
When the channel was last updated.
sourcepub fn set_last_update_time(self, input: Option<DateTime>) -> Self
pub fn set_last_update_time(self, input: Option<DateTime>) -> Self
When the channel was last updated.
sourcepub fn get_last_update_time(&self) -> &Option<DateTime>
pub fn get_last_update_time(&self) -> &Option<DateTime>
When the channel was last 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.
Trait Implementations§
source§impl Clone for ChannelBuilder
impl Clone for ChannelBuilder
source§fn clone(&self) -> ChannelBuilder
fn clone(&self) -> ChannelBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelBuilder
impl Debug for ChannelBuilder
source§impl Default for ChannelBuilder
impl Default for ChannelBuilder
source§fn default() -> ChannelBuilder
fn default() -> ChannelBuilder
source§impl PartialEq for ChannelBuilder
impl PartialEq for ChannelBuilder
source§fn eq(&self, other: &ChannelBuilder) -> bool
fn eq(&self, other: &ChannelBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.