Class PresentationTimeRange
java.lang.Object
com.azure.resourcemanager.mediaservices.models.PresentationTimeRange
The presentation time range, this is asset related and not recommended for Account Filter.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the endTimestamp property: The absolute end time boundary.Get the forceEndTimestamp property: The indicator of forcing existing of end time stamp.Get the liveBackoffDuration property: The relative to end right edge.Get the presentationWindowDuration property: The relative to end sliding window.Get the startTimestamp property: The absolute start time boundary.Get the timescale property: The time scale of time stamps.void
validate()
Validates the instance.withEndTimestamp
(Long endTimestamp) Set the endTimestamp property: The absolute end time boundary.withForceEndTimestamp
(Boolean forceEndTimestamp) Set the forceEndTimestamp property: The indicator of forcing existing of end time stamp.withLiveBackoffDuration
(Long liveBackoffDuration) Set the liveBackoffDuration property: The relative to end right edge.withPresentationWindowDuration
(Long presentationWindowDuration) Set the presentationWindowDuration property: The relative to end sliding window.withStartTimestamp
(Long startTimestamp) Set the startTimestamp property: The absolute start time boundary.withTimescale
(Long timescale) Set the timescale property: The time scale of time stamps.
-
Constructor Details
-
PresentationTimeRange
public PresentationTimeRange()Creates an instance of PresentationTimeRange class.
-
-
Method Details
-
startTimestamp
Get the startTimestamp property: The absolute start time boundary.- Returns:
- the startTimestamp value.
-
withStartTimestamp
Set the startTimestamp property: The absolute start time boundary.- Parameters:
startTimestamp
- the startTimestamp value to set.- Returns:
- the PresentationTimeRange object itself.
-
endTimestamp
Get the endTimestamp property: The absolute end time boundary.- Returns:
- the endTimestamp value.
-
withEndTimestamp
Set the endTimestamp property: The absolute end time boundary.- Parameters:
endTimestamp
- the endTimestamp value to set.- Returns:
- the PresentationTimeRange object itself.
-
presentationWindowDuration
Get the presentationWindowDuration property: The relative to end sliding window.- Returns:
- the presentationWindowDuration value.
-
withPresentationWindowDuration
Set the presentationWindowDuration property: The relative to end sliding window.- Parameters:
presentationWindowDuration
- the presentationWindowDuration value to set.- Returns:
- the PresentationTimeRange object itself.
-
liveBackoffDuration
Get the liveBackoffDuration property: The relative to end right edge.- Returns:
- the liveBackoffDuration value.
-
withLiveBackoffDuration
Set the liveBackoffDuration property: The relative to end right edge.- Parameters:
liveBackoffDuration
- the liveBackoffDuration value to set.- Returns:
- the PresentationTimeRange object itself.
-
timescale
Get the timescale property: The time scale of time stamps.- Returns:
- the timescale value.
-
withTimescale
Set the timescale property: The time scale of time stamps.- Parameters:
timescale
- the timescale value to set.- Returns:
- the PresentationTimeRange object itself.
-
forceEndTimestamp
Get the forceEndTimestamp property: The indicator of forcing existing of end time stamp.- Returns:
- the forceEndTimestamp value.
-
withForceEndTimestamp
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.
-