Struct aws_sdk_mediatailor::operation::create_prefetch_schedule::builders::CreatePrefetchScheduleOutputBuilder
source · #[non_exhaustive]pub struct CreatePrefetchScheduleOutputBuilder { /* private fields */ }Expand description
A builder for CreatePrefetchScheduleOutput.
Implementations§
source§impl CreatePrefetchScheduleOutputBuilder
impl CreatePrefetchScheduleOutputBuilder
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The ARN to assign to the prefetch schedule.
sourcepub fn consumption(self, input: PrefetchConsumption) -> Self
pub fn consumption(self, input: PrefetchConsumption) -> Self
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.
sourcepub fn set_consumption(self, input: Option<PrefetchConsumption>) -> Self
pub fn set_consumption(self, input: Option<PrefetchConsumption>) -> Self
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.
sourcepub fn get_consumption(&self) -> &Option<PrefetchConsumption>
pub fn get_consumption(&self) -> &Option<PrefetchConsumption>
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name to assign to the prefetch schedule.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name to assign to the prefetch schedule.
sourcepub fn playback_configuration_name(self, input: impl Into<String>) -> Self
pub fn playback_configuration_name(self, input: impl Into<String>) -> Self
The name to assign to the playback configuration.
sourcepub fn set_playback_configuration_name(self, input: Option<String>) -> Self
pub fn set_playback_configuration_name(self, input: Option<String>) -> Self
The name to assign to the playback configuration.
sourcepub fn get_playback_configuration_name(&self) -> &Option<String>
pub fn get_playback_configuration_name(&self) -> &Option<String>
The name to assign to the playback configuration.
sourcepub fn retrieval(self, input: PrefetchRetrieval) -> Self
pub fn retrieval(self, input: PrefetchRetrieval) -> Self
The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.
sourcepub fn set_retrieval(self, input: Option<PrefetchRetrieval>) -> Self
pub fn set_retrieval(self, input: Option<PrefetchRetrieval>) -> Self
The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.
sourcepub fn get_retrieval(&self) -> &Option<PrefetchRetrieval>
pub fn get_retrieval(&self) -> &Option<PrefetchRetrieval>
The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.
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 MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If StreamId is specified, MediaTailor returns all of the prefetch schedules with an exact match on StreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of StreamId.
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 MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If StreamId is specified, MediaTailor returns all of the prefetch schedules with an exact match on StreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of StreamId.
sourcepub fn get_stream_id(&self) -> &Option<String>
pub fn get_stream_id(&self) -> &Option<String>
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If StreamId is specified, MediaTailor returns all of the prefetch schedules with an exact match on StreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of StreamId.
sourcepub fn build(self) -> CreatePrefetchScheduleOutput
pub fn build(self) -> CreatePrefetchScheduleOutput
Consumes the builder and constructs a CreatePrefetchScheduleOutput.
Trait Implementations§
source§impl Clone for CreatePrefetchScheduleOutputBuilder
impl Clone for CreatePrefetchScheduleOutputBuilder
source§fn clone(&self) -> CreatePrefetchScheduleOutputBuilder
fn clone(&self) -> CreatePrefetchScheduleOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreatePrefetchScheduleOutputBuilder
impl Default for CreatePrefetchScheduleOutputBuilder
source§fn default() -> CreatePrefetchScheduleOutputBuilder
fn default() -> CreatePrefetchScheduleOutputBuilder
source§impl PartialEq for CreatePrefetchScheduleOutputBuilder
impl PartialEq for CreatePrefetchScheduleOutputBuilder
source§fn eq(&self, other: &CreatePrefetchScheduleOutputBuilder) -> bool
fn eq(&self, other: &CreatePrefetchScheduleOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.