pub struct CreateChannelFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateChannel.
Creates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
Implementations§
source§impl CreateChannelFluentBuilder
impl CreateChannelFluentBuilder
sourcepub fn as_input(&self) -> &CreateChannelInputBuilder
pub fn as_input(&self) -> &CreateChannelInputBuilder
Access the CreateChannel as a reference.
sourcepub async fn send(
self
) -> Result<CreateChannelOutput, SdkError<CreateChannelError, HttpResponse>>
pub async fn send( self ) -> Result<CreateChannelOutput, SdkError<CreateChannelError, 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<CreateChannelOutput, CreateChannelError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateChannelOutput, CreateChannelError, 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.
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 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 outputs(self, input: RequestOutputItem) -> Self
pub fn outputs(self, input: RequestOutputItem) -> 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<RequestOutputItem>>) -> Self
pub fn set_outputs(self, input: Option<Vec<RequestOutputItem>>) -> Self
The channel's output properties.
sourcepub fn get_outputs(&self) -> &Option<Vec<RequestOutputItem>>
pub fn get_outputs(&self) -> &Option<Vec<RequestOutputItem>>
The channel's output properties.
sourcepub fn playback_mode(self, input: PlaybackMode) -> Self
pub fn playback_mode(self, input: PlaybackMode) -> Self
The type of playback mode to use for this channel.
LINEAR - The programs in the schedule play once back-to-back in the schedule.
LOOP - The programs in the schedule play back-to-back in an endless loop. When the last program in the schedule stops playing, playback loops back to the first program in the schedule.
sourcepub fn set_playback_mode(self, input: Option<PlaybackMode>) -> Self
pub fn set_playback_mode(self, input: Option<PlaybackMode>) -> Self
The type of playback mode to use for this channel.
LINEAR - The programs in the schedule play once back-to-back in the schedule.
LOOP - The programs in the schedule play back-to-back in an endless loop. When the last program in the schedule stops playing, playback loops back to the first program in the schedule.
sourcepub fn get_playback_mode(&self) -> &Option<PlaybackMode>
pub fn get_playback_mode(&self) -> &Option<PlaybackMode>
The type of playback mode to use for this channel.
LINEAR - The programs in the schedule play once back-to-back in the schedule.
LOOP - The programs in the schedule play back-to-back in an endless loop. When the last program in the schedule stops playing, 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.
Trait Implementations§
source§impl Clone for CreateChannelFluentBuilder
impl Clone for CreateChannelFluentBuilder
source§fn clone(&self) -> CreateChannelFluentBuilder
fn clone(&self) -> CreateChannelFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more