Class PresentationTimeRange

java.lang.Object
com.azure.resourcemanager.mediaservices.models.PresentationTimeRange

public final class PresentationTimeRange extends Object
The presentation time range, this is asset related and not recommended for Account Filter.
  • Constructor Details

    • PresentationTimeRange

      public PresentationTimeRange()
      Creates an instance of PresentationTimeRange class.
  • Method Details

    • startTimestamp

      public Long startTimestamp()
      Get the startTimestamp property: The absolute start time boundary.
      Returns:
      the startTimestamp value.
    • withStartTimestamp

      public PresentationTimeRange withStartTimestamp(Long startTimestamp)
      Set the startTimestamp property: The absolute start time boundary.
      Parameters:
      startTimestamp - the startTimestamp value to set.
      Returns:
      the PresentationTimeRange object itself.
    • endTimestamp

      public Long endTimestamp()
      Get the endTimestamp property: The absolute end time boundary.
      Returns:
      the endTimestamp value.
    • withEndTimestamp

      public PresentationTimeRange withEndTimestamp(Long endTimestamp)
      Set the endTimestamp property: The absolute end time boundary.
      Parameters:
      endTimestamp - the endTimestamp value to set.
      Returns:
      the PresentationTimeRange object itself.
    • presentationWindowDuration

      public Long presentationWindowDuration()
      Get the presentationWindowDuration property: The relative to end sliding window.
      Returns:
      the presentationWindowDuration value.
    • withPresentationWindowDuration

      public PresentationTimeRange withPresentationWindowDuration(Long presentationWindowDuration)
      Set the presentationWindowDuration property: The relative to end sliding window.
      Parameters:
      presentationWindowDuration - the presentationWindowDuration value to set.
      Returns:
      the PresentationTimeRange object itself.
    • liveBackoffDuration

      public Long liveBackoffDuration()
      Get the liveBackoffDuration property: The relative to end right edge.
      Returns:
      the liveBackoffDuration value.
    • withLiveBackoffDuration

      public PresentationTimeRange withLiveBackoffDuration(Long liveBackoffDuration)
      Set the liveBackoffDuration property: The relative to end right edge.
      Parameters:
      liveBackoffDuration - the liveBackoffDuration value to set.
      Returns:
      the PresentationTimeRange object itself.
    • timescale

      public Long timescale()
      Get the timescale property: The time scale of time stamps.
      Returns:
      the timescale value.
    • withTimescale

      public PresentationTimeRange withTimescale(Long timescale)
      Set the timescale property: The time scale of time stamps.
      Parameters:
      timescale - the timescale value to set.
      Returns:
      the PresentationTimeRange object itself.
    • forceEndTimestamp

      public Boolean forceEndTimestamp()
      Get the forceEndTimestamp property: The indicator of forcing existing of end time stamp.
      Returns:
      the forceEndTimestamp value.
    • withForceEndTimestamp

      public PresentationTimeRange withForceEndTimestamp(Boolean forceEndTimestamp)
      Set the forceEndTimestamp property: The indicator of forcing existing of end time stamp.
      Parameters:
      forceEndTimestamp - the forceEndTimestamp value to set.
      Returns:
      the PresentationTimeRange object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.