Struct aws_sdk_iotanalytics::operation::update_channel::builders::UpdateChannelFluentBuilder
source · pub struct UpdateChannelFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateChannel
.
Used to update the settings of a channel.
Implementations§
source§impl UpdateChannelFluentBuilder
impl UpdateChannelFluentBuilder
sourcepub fn as_input(&self) -> &UpdateChannelInputBuilder
pub fn as_input(&self) -> &UpdateChannelInputBuilder
Access the UpdateChannel as a reference.
sourcepub async fn send(
self
) -> Result<UpdateChannelOutput, SdkError<UpdateChannelError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateChannelOutput, SdkError<UpdateChannelError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateChannelOutput, UpdateChannelError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateChannelOutput, UpdateChannelError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 to be updated.
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 to be updated.
sourcepub fn get_channel_name(&self) -> &Option<String>
pub fn get_channel_name(&self) -> &Option<String>
The name of the channel to be updated.
sourcepub fn channel_storage(self, input: ChannelStorage) -> Self
pub fn channel_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_channel_storage(self, input: Option<ChannelStorage>) -> Self
pub fn set_channel_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_channel_storage(&self) -> &Option<ChannelStorage>
pub fn get_channel_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 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. The retention period can't be updated if the channel's Amazon S3 storage is customer-managed.
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. The retention period can't be updated if the channel's Amazon S3 storage is customer-managed.
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. The retention period can't be updated if the channel's Amazon S3 storage is customer-managed.
Trait Implementations§
source§impl Clone for UpdateChannelFluentBuilder
impl Clone for UpdateChannelFluentBuilder
source§fn clone(&self) -> UpdateChannelFluentBuilder
fn clone(&self) -> UpdateChannelFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more