PresentationTimeRange Class

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

public final class PresentationTimeRange

The presentation time range, this is asset related and not recommended for Account Filter.

Constructor Summary

Constructor Description
PresentationTimeRange()

Creates an instance of PresentationTimeRange class.

Method Summary

Modifier and Type Method and Description
Long endTimestamp()

Get the endTimestamp property: The absolute end time boundary.

Boolean forceEndTimestamp()

Get the forceEndTimestamp property: The indicator of forcing existing of end time stamp.

Long liveBackoffDuration()

Get the liveBackoffDuration property: The relative to end right edge.

Long presentationWindowDuration()

Get the presentationWindowDuration property: The relative to end sliding window.

Long startTimestamp()

Get the startTimestamp property: The absolute start time boundary.

Long timescale()

Get the timescale property: The time scale of time stamps.

void validate()

Validates the instance.

PresentationTimeRange withEndTimestamp(Long endTimestamp)

Set the endTimestamp property: The absolute end time boundary.

PresentationTimeRange withForceEndTimestamp(Boolean forceEndTimestamp)

Set the forceEndTimestamp property: The indicator of forcing existing of end time stamp.

PresentationTimeRange withLiveBackoffDuration(Long liveBackoffDuration)

Set the liveBackoffDuration property: The relative to end right edge.

PresentationTimeRange withPresentationWindowDuration(Long presentationWindowDuration)

Set the presentationWindowDuration property: The relative to end sliding window.

PresentationTimeRange withStartTimestamp(Long startTimestamp)

Set the startTimestamp property: The absolute start time boundary.

PresentationTimeRange withTimescale(Long timescale)

Set the timescale property: The time scale of time stamps.

Methods inherited from java.lang.Object

Constructor Details

PresentationTimeRange

public PresentationTimeRange()

Creates an instance of PresentationTimeRange class.

Method Details

endTimestamp

public Long endTimestamp()

Get the endTimestamp property: The absolute end time boundary.

Returns:

the endTimestamp value.

forceEndTimestamp

public Boolean forceEndTimestamp()

Get the forceEndTimestamp property: The indicator of forcing existing of end time stamp.

Returns:

the forceEndTimestamp value.

liveBackoffDuration

public Long liveBackoffDuration()

Get the liveBackoffDuration property: The relative to end right edge.

Returns:

the liveBackoffDuration value.

presentationWindowDuration

public Long presentationWindowDuration()

Get the presentationWindowDuration property: The relative to end sliding window.

Returns:

the presentationWindowDuration value.

startTimestamp

public Long startTimestamp()

Get the startTimestamp property: The absolute start time boundary.

Returns:

the startTimestamp value.

timescale

public Long timescale()

Get the timescale property: The time scale of time stamps.

Returns:

the timescale value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

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.

Applies to