Interface CreatePrefetchScheduleResponse.Builder

    • Method Detail

      • arn

        CreatePrefetchScheduleResponse.Builder arn​(String arn)

        The ARN to assign to the prefetch schedule.

        Parameters:
        arn - The ARN to assign to the prefetch schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • consumption

        CreatePrefetchScheduleResponse.Builder consumption​(PrefetchConsumption consumption)

        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.

        Parameters:
        consumption - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreatePrefetchScheduleResponse.Builder name​(String name)

        The name to assign to the prefetch schedule.

        Parameters:
        name - The name to assign to the prefetch schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • playbackConfigurationName

        CreatePrefetchScheduleResponse.Builder playbackConfigurationName​(String playbackConfigurationName)

        The name to assign to the playback configuration.

        Parameters:
        playbackConfigurationName - The name to assign to the playback configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retrieval

        CreatePrefetchScheduleResponse.Builder retrieval​(PrefetchRetrieval retrieval)

        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.

        Parameters:
        retrieval - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streamId

        CreatePrefetchScheduleResponse.Builder streamId​(String streamId)

        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.

        Parameters:
        streamId - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.