Class UtcClipTime
java.lang.Object
com.azure.resourcemanager.mediaservices.models.ClipTime
com.azure.resourcemanager.mediaservices.models.UtcClipTime
Specifies the clip time as a Utc time position in the media file. The Utc time can point to a different position
depending on whether the media file starts from a timestamp of zero or not.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontime()
Get the time property: The time position on the timeline of the input media based on Utc time.void
validate()
Validates the instance.withTime
(OffsetDateTime time) Set the time property: The time position on the timeline of the input media based on Utc time.
-
Constructor Details
-
UtcClipTime
public UtcClipTime()Creates an instance of UtcClipTime class.
-
-
Method Details
-
time
Get the time property: The time position on the timeline of the input media based on Utc time.- Returns:
- the time value.
-
withTime
Set the time property: The time position on the timeline of the input media based on Utc time.- Parameters:
time
- the time value to set.- Returns:
- the UtcClipTime object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classClipTime
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-