#[non_exhaustive]
pub struct GetPlaybackConfigurationOutputBuilder { /* private fields */ }
Expand description

Implementations§

source§

impl GetPlaybackConfigurationOutputBuilder

source

pub fn ad_decision_server_url(self, input: impl Into<String>) -> Self

The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

source

pub fn set_ad_decision_server_url(self, input: Option<String>) -> Self

The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

source

pub fn get_ad_decision_server_url(&self) -> &Option<String>

The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

source

pub fn avail_suppression(self, input: AvailSuppression) -> Self

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

source

pub fn set_avail_suppression(self, input: Option<AvailSuppression>) -> Self

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

source

pub fn get_avail_suppression(&self) -> &Option<AvailSuppression>

The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression.

source

pub fn bumper(self, input: Bumper) -> Self

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

source

pub fn set_bumper(self, input: Option<Bumper>) -> Self

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

source

pub fn get_bumper(&self) -> &Option<Bumper>

The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers.

source

pub fn cdn_configuration(self, input: CdnConfiguration) -> Self

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

source

pub fn set_cdn_configuration(self, input: Option<CdnConfiguration>) -> Self

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

source

pub fn get_cdn_configuration(&self) -> &Option<CdnConfiguration>

The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.

source

pub fn configuration_aliases( self, k: impl Into<String>, v: HashMap<String, String> ) -> Self

Adds a key-value pair to configuration_aliases.

To override the contents of this collection use set_configuration_aliases.

The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.

source

pub fn set_configuration_aliases( self, input: Option<HashMap<String, HashMap<String, String>>> ) -> Self

The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.

source

pub fn get_configuration_aliases( &self ) -> &Option<HashMap<String, HashMap<String, String>>>

The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables.

source

pub fn dash_configuration(self, input: DashConfiguration) -> Self

The configuration for DASH content.

source

pub fn set_dash_configuration(self, input: Option<DashConfiguration>) -> Self

The configuration for DASH content.

source

pub fn get_dash_configuration(&self) -> &Option<DashConfiguration>

The configuration for DASH content.

source

pub fn hls_configuration(self, input: HlsConfiguration) -> Self

The configuration for HLS content.

source

pub fn set_hls_configuration(self, input: Option<HlsConfiguration>) -> Self

The configuration for HLS content.

source

pub fn get_hls_configuration(&self) -> &Option<HlsConfiguration>

The configuration for HLS content.

source

pub fn live_pre_roll_configuration( self, input: LivePreRollConfiguration ) -> Self

The configuration for pre-roll ad insertion.

source

pub fn set_live_pre_roll_configuration( self, input: Option<LivePreRollConfiguration> ) -> Self

The configuration for pre-roll ad insertion.

source

pub fn get_live_pre_roll_configuration( &self ) -> &Option<LivePreRollConfiguration>

The configuration for pre-roll ad insertion.

source

pub fn log_configuration(self, input: LogConfiguration) -> Self

The Amazon CloudWatch log settings for a playback configuration.

source

pub fn set_log_configuration(self, input: Option<LogConfiguration>) -> Self

The Amazon CloudWatch log settings for a playback configuration.

source

pub fn get_log_configuration(&self) -> &Option<LogConfiguration>

The Amazon CloudWatch log settings for a playback configuration.

source

pub fn manifest_processing_rules(self, input: ManifestProcessingRules) -> Self

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

source

pub fn set_manifest_processing_rules( self, input: Option<ManifestProcessingRules> ) -> Self

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

source

pub fn get_manifest_processing_rules(&self) -> &Option<ManifestProcessingRules>

The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.

source

pub fn name(self, input: impl Into<String>) -> Self

The identifier for the playback configuration.

source

pub fn set_name(self, input: Option<String>) -> Self

The identifier for the playback configuration.

source

pub fn get_name(&self) -> &Option<String>

The identifier for the playback configuration.

source

pub fn personalization_threshold_seconds(self, input: i32) -> Self

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

source

pub fn set_personalization_threshold_seconds(self, input: Option<i32>) -> Self

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

source

pub fn get_personalization_threshold_seconds(&self) -> &Option<i32>

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

source

pub fn playback_configuration_arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) for the playback configuration.

source

pub fn set_playback_configuration_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) for the playback configuration.

source

pub fn get_playback_configuration_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) for the playback configuration.

source

pub fn playback_endpoint_prefix(self, input: impl Into<String>) -> Self

The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.

source

pub fn set_playback_endpoint_prefix(self, input: Option<String>) -> Self

The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.

source

pub fn get_playback_endpoint_prefix(&self) -> &Option<String>

The URL that the player accesses to get a manifest from AWS Elemental MediaTailor. This session will use server-side reporting.

source

pub fn session_initialization_endpoint_prefix( self, input: impl Into<String> ) -> Self

The URL that the player uses to initialize a session that uses client-side reporting.

source

pub fn set_session_initialization_endpoint_prefix( self, input: Option<String> ) -> Self

The URL that the player uses to initialize a session that uses client-side reporting.

source

pub fn get_session_initialization_endpoint_prefix(&self) -> &Option<String>

The URL that the player uses to initialize a session that uses client-side reporting.

source

pub fn slate_ad_url(self, input: impl Into<String>) -> Self

The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.

source

pub fn set_slate_ad_url(self, input: Option<String>) -> Self

The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.

source

pub fn get_slate_ad_url(&self) -> &Option<String>

The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.

source

pub fn tags(self, k: impl Into<String>, v: impl Into<String>) -> Self

Adds a key-value pair to tags.

To override the contents of this collection use set_tags.

The tags assigned to the playback configuration. 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.

source

pub fn set_tags(self, input: Option<HashMap<String, String>>) -> Self

The tags assigned to the playback configuration. 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.

source

pub fn get_tags(&self) -> &Option<HashMap<String, String>>

The tags assigned to the playback configuration. 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.

source

pub fn transcode_profile_name(self, input: impl Into<String>) -> Self

The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.

source

pub fn set_transcode_profile_name(self, input: Option<String>) -> Self

The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.

source

pub fn get_transcode_profile_name(&self) -> &Option<String>

The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.

source

pub fn video_content_source_url(self, input: impl Into<String>) -> Self

The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.

source

pub fn set_video_content_source_url(self, input: Option<String>) -> Self

The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.

source

pub fn get_video_content_source_url(&self) -> &Option<String>

The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters.

source

pub fn build(self) -> GetPlaybackConfigurationOutput

Consumes the builder and constructs a GetPlaybackConfigurationOutput.

Trait Implementations§

source§

impl Clone for GetPlaybackConfigurationOutputBuilder

source§

fn clone(&self) -> GetPlaybackConfigurationOutputBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GetPlaybackConfigurationOutputBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GetPlaybackConfigurationOutputBuilder

source§

fn default() -> GetPlaybackConfigurationOutputBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq<GetPlaybackConfigurationOutputBuilder> for GetPlaybackConfigurationOutputBuilder

source§

fn eq(&self, other: &GetPlaybackConfigurationOutputBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for GetPlaybackConfigurationOutputBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more