Class LiveEventIngestInterruption
java.lang.Object
com.azure.resourcemanager.mediaservices.models.LiveEventIngestInterruption
The live event ingest interruption data.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LiveEventIngestInterruption class. -
Method Summary
Modifier and TypeMethodDescriptionbegin()
Get the begin property: UTC time of interruption start, encoder disconnected.duration()
Get the duration property: Duration of interruption in ISO 8601 time.end()
Get the end property: UTC time of interruption end, encoder re-connected.reason()
Get the reason property: Interruption reason.void
validate()
Validates the instance.withBegin
(OffsetDateTime begin) Set the begin property: UTC time of interruption start, encoder disconnected.withDuration
(Duration duration) Set the duration property: Duration of interruption in ISO 8601 time.withEnd
(OffsetDateTime end) Set the end property: UTC time of interruption end, encoder re-connected.withReason
(String reason) Set the reason property: Interruption reason.
-
Constructor Details
-
LiveEventIngestInterruption
public LiveEventIngestInterruption()Creates an instance of LiveEventIngestInterruption class.
-
-
Method Details
-
begin
Get the begin property: UTC time of interruption start, encoder disconnected.- Returns:
- the begin value.
-
withBegin
Set the begin property: UTC time of interruption start, encoder disconnected.- Parameters:
begin
- the begin value to set.- Returns:
- the LiveEventIngestInterruption object itself.
-
end
Get the end property: UTC time of interruption end, encoder re-connected.- Returns:
- the end value.
-
withEnd
Set the end property: UTC time of interruption end, encoder re-connected.- Parameters:
end
- the end value to set.- Returns:
- the LiveEventIngestInterruption object itself.
-
duration
Get the duration property: Duration of interruption in ISO 8601 time. For example, use PT1H30M to indicate 1 hour and 30 minutes.- Returns:
- the duration value.
-
withDuration
Set the duration property: Duration of interruption in ISO 8601 time. For example, use PT1H30M to indicate 1 hour and 30 minutes.- Parameters:
duration
- the duration value to set.- Returns:
- the LiveEventIngestInterruption object itself.
-
reason
Get the reason property: Interruption reason.- Returns:
- the reason value.
-
withReason
Set the reason property: Interruption reason.- Parameters:
reason
- the reason value to set.- Returns:
- the LiveEventIngestInterruption object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-