Struct aws_sdk_mediatailor::operation::get_prefetch_schedule::builders::GetPrefetchScheduleOutputBuilder
source · #[non_exhaustive]pub struct GetPrefetchScheduleOutputBuilder { /* private fields */ }Expand description
A builder for GetPrefetchScheduleOutput.
Implementations§
source§impl GetPrefetchScheduleOutputBuilder
impl GetPrefetchScheduleOutputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the prefetch schedule.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the prefetch schedule.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the prefetch schedule.
sourcepub fn consumption(self, input: PrefetchConsumption) -> Self
pub fn consumption(self, input: PrefetchConsumption) -> Self
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.
sourcepub fn set_consumption(self, input: Option<PrefetchConsumption>) -> Self
pub fn set_consumption(self, input: Option<PrefetchConsumption>) -> Self
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.
sourcepub fn get_consumption(&self) -> &Option<PrefetchConsumption>
pub fn get_consumption(&self) -> &Option<PrefetchConsumption>
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
sourcepub fn playback_configuration_name(self, input: impl Into<String>) -> Self
pub fn playback_configuration_name(self, input: impl Into<String>) -> Self
The name of the playback configuration to create the prefetch schedule for.
sourcepub fn set_playback_configuration_name(self, input: Option<String>) -> Self
pub fn set_playback_configuration_name(self, input: Option<String>) -> Self
The name of the playback configuration to create the prefetch schedule for.
sourcepub fn get_playback_configuration_name(&self) -> &Option<String>
pub fn get_playback_configuration_name(&self) -> &Option<String>
The name of the playback configuration to create the prefetch schedule for.
sourcepub fn retrieval(self, input: PrefetchRetrieval) -> Self
pub fn retrieval(self, input: PrefetchRetrieval) -> Self
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
sourcepub fn set_retrieval(self, input: Option<PrefetchRetrieval>) -> Self
pub fn set_retrieval(self, input: Option<PrefetchRetrieval>) -> Self
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
sourcepub fn get_retrieval(&self) -> &Option<PrefetchRetrieval>
pub fn get_retrieval(&self) -> &Option<PrefetchRetrieval>
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
sourcepub fn stream_id(self, input: impl Into<String>) -> Self
pub fn stream_id(self, input: impl Into<String>) -> Self
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
sourcepub fn set_stream_id(self, input: Option<String>) -> Self
pub fn set_stream_id(self, input: Option<String>) -> Self
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
sourcepub fn get_stream_id(&self) -> &Option<String>
pub fn get_stream_id(&self) -> &Option<String>
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
sourcepub fn build(self) -> GetPrefetchScheduleOutput
pub fn build(self) -> GetPrefetchScheduleOutput
Consumes the builder and constructs a GetPrefetchScheduleOutput.
Trait Implementations§
source§impl Clone for GetPrefetchScheduleOutputBuilder
impl Clone for GetPrefetchScheduleOutputBuilder
source§fn clone(&self) -> GetPrefetchScheduleOutputBuilder
fn clone(&self) -> GetPrefetchScheduleOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetPrefetchScheduleOutputBuilder
impl Default for GetPrefetchScheduleOutputBuilder
source§fn default() -> GetPrefetchScheduleOutputBuilder
fn default() -> GetPrefetchScheduleOutputBuilder
source§impl PartialEq<GetPrefetchScheduleOutputBuilder> for GetPrefetchScheduleOutputBuilder
impl PartialEq<GetPrefetchScheduleOutputBuilder> for GetPrefetchScheduleOutputBuilder
source§fn eq(&self, other: &GetPrefetchScheduleOutputBuilder) -> bool
fn eq(&self, other: &GetPrefetchScheduleOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.