Class LiveEventIngestInterruption

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

public final class LiveEventIngestInterruption extends Object
The live event ingest interruption data.
  • Constructor Details

    • LiveEventIngestInterruption

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

    • begin

      public OffsetDateTime begin()
      Get the begin property: UTC time of interruption start, encoder disconnected.
      Returns:
      the begin value.
    • withBegin

      public LiveEventIngestInterruption withBegin(OffsetDateTime begin)
      Set the begin property: UTC time of interruption start, encoder disconnected.
      Parameters:
      begin - the begin value to set.
      Returns:
      the LiveEventIngestInterruption object itself.
    • end

      public OffsetDateTime 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

      public Duration 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

      public LiveEventIngestInterruption withDuration(Duration duration)
      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

      public String reason()
      Get the reason property: Interruption reason.
      Returns:
      the reason value.
    • withReason

      public LiveEventIngestInterruption withReason(String reason)
      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.