#[non_exhaustive]pub struct UpdateChannelOutputBuilder { /* private fields */ }Expand description
A builder for UpdateChannelOutput.
Implementations§
source§impl UpdateChannelOutputBuilder
impl UpdateChannelOutputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) associated with the channel.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) associated with the channel.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) associated with the channel.
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_state(self, input: ChannelState) -> Self
pub fn channel_state(self, input: ChannelState) -> Self
Returns the state whether the channel is running or not.
sourcepub fn set_channel_state(self, input: Option<ChannelState>) -> Self
pub fn set_channel_state(self, input: Option<ChannelState>) -> Self
Returns the state whether the channel is running or not.
sourcepub fn get_channel_state(&self) -> &Option<ChannelState>
pub fn get_channel_state(&self) -> &Option<ChannelState>
Returns the state whether the channel is running or not.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp of 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
The timestamp of when the channel was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The timestamp of when the channel was created.
sourcepub fn filler_slate(self, input: SlateSource) -> Self
pub fn filler_slate(self, input: SlateSource) -> Self
The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.
sourcepub fn set_filler_slate(self, input: Option<SlateSource>) -> Self
pub fn set_filler_slate(self, input: Option<SlateSource>) -> Self
The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.
sourcepub fn get_filler_slate(&self) -> &Option<SlateSource>
pub fn get_filler_slate(&self) -> &Option<SlateSource>
The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The timestamp that indicates when the channel was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The timestamp that indicates when the channel was last modified.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The timestamp that indicates when the channel was last modified.
sourcepub fn outputs(self, input: ResponseOutputItem) -> Self
pub fn outputs(self, input: ResponseOutputItem) -> Self
Appends an item to outputs.
To override the contents of this collection use set_outputs.
The channel's output properties.
sourcepub fn set_outputs(self, input: Option<Vec<ResponseOutputItem>>) -> Self
pub fn set_outputs(self, input: Option<Vec<ResponseOutputItem>>) -> Self
The channel's output properties.
sourcepub fn get_outputs(&self) -> &Option<Vec<ResponseOutputItem>>
pub fn get_outputs(&self) -> &Option<Vec<ResponseOutputItem>>
The channel's output properties.
sourcepub fn playback_mode(self, input: impl Into<String>) -> Self
pub fn playback_mode(self, input: impl Into<String>) -> Self
The type of playback mode for this channel.
LINEAR - Programs play back-to-back only once.
LOOP - Programs play back-to-back in an endless loop. When the last program in the schedule plays, playback loops back to the first program in the schedule.
sourcepub fn set_playback_mode(self, input: Option<String>) -> Self
pub fn set_playback_mode(self, input: Option<String>) -> Self
The type of playback mode for this channel.
LINEAR - Programs play back-to-back only once.
LOOP - Programs play back-to-back in an endless loop. When the last program in the schedule plays, playback loops back to the first program in the schedule.
sourcepub fn get_playback_mode(&self) -> &Option<String>
pub fn get_playback_mode(&self) -> &Option<String>
The type of playback mode for this channel.
LINEAR - Programs play back-to-back only once.
LOOP - Programs play back-to-back in an endless loop. When the last program in the schedule plays, playback loops back to the first program in the schedule.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
The tags to assign to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
sourcepub fn build(self) -> UpdateChannelOutput
pub fn build(self) -> UpdateChannelOutput
Consumes the builder and constructs a UpdateChannelOutput.
Trait Implementations§
source§impl Clone for UpdateChannelOutputBuilder
impl Clone for UpdateChannelOutputBuilder
source§fn clone(&self) -> UpdateChannelOutputBuilder
fn clone(&self) -> UpdateChannelOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateChannelOutputBuilder
impl Debug for UpdateChannelOutputBuilder
source§impl Default for UpdateChannelOutputBuilder
impl Default for UpdateChannelOutputBuilder
source§fn default() -> UpdateChannelOutputBuilder
fn default() -> UpdateChannelOutputBuilder
source§impl PartialEq for UpdateChannelOutputBuilder
impl PartialEq for UpdateChannelOutputBuilder
source§fn eq(&self, other: &UpdateChannelOutputBuilder) -> bool
fn eq(&self, other: &UpdateChannelOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.