Class PrefetchSchedule

    • Method Detail

      • arn

        public final String arn()

        The Amazon Resource Name (ARN) of the prefetch schedule.

        Returns:
        The Amazon Resource Name (ARN) of the prefetch schedule.
      • consumption

        public final PrefetchConsumption consumption()

        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.

        Returns:
        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.
      • name

        public final String name()

        The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

        Returns:
        The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
      • playbackConfigurationName

        public final String playbackConfigurationName()

        The name of the playback configuration to create the prefetch schedule for.

        Returns:
        The name of the playback configuration to create the prefetch schedule for.
      • retrieval

        public final PrefetchRetrieval retrieval()

        A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

        Returns:
        A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
      • streamId

        public final String streamId()

        An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.

        Returns:
        An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)