Class LiveEventIngestion

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

public final class LiveEventIngestion extends Object
The live event ingestion telemetry data.
  • Constructor Details

    • LiveEventIngestion

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

    • streamName

      public String streamName()
      Get the streamName property: Ingestion stream name.
      Returns:
      the streamName value.
    • withStreamName

      public LiveEventIngestion withStreamName(String streamName)
      Set the streamName property: Ingestion stream name.
      Parameters:
      streamName - the streamName value to set.
      Returns:
      the LiveEventIngestion object itself.
    • begin

      public OffsetDateTime begin()
      Get the begin property: Ingestion begin time in UTC.
      Returns:
      the begin value.
    • withBegin

      public LiveEventIngestion withBegin(OffsetDateTime begin)
      Set the begin property: Ingestion begin time in UTC.
      Parameters:
      begin - the begin value to set.
      Returns:
      the LiveEventIngestion object itself.
    • end

      public OffsetDateTime end()
      Get the end property: Ingestion end time in UTC. Empty if it's not stopped yet.
      Returns:
      the end value.
    • withEnd

      public LiveEventIngestion withEnd(OffsetDateTime end)
      Set the end property: Ingestion end time in UTC. Empty if it's not stopped yet.
      Parameters:
      end - the end value to set.
      Returns:
      the LiveEventIngestion object itself.
    • endReason

      public String endReason()
      Get the endReason property: Reason why ingestion stops. Empty if it's not stopped yet. E.g) Service Stopped. No Ingestion.
      Returns:
      the endReason value.
    • withEndReason

      public LiveEventIngestion withEndReason(String endReason)
      Set the endReason property: Reason why ingestion stops. Empty if it's not stopped yet. E.g) Service Stopped. No Ingestion.
      Parameters:
      endReason - the endReason value to set.
      Returns:
      the LiveEventIngestion object itself.
    • ingestInterruptions

      public List<LiveEventIngestInterruption> ingestInterruptions()
      Get the ingestInterruptions property: IngestInterruption entry list.
      Returns:
      the ingestInterruptions value.
    • withIngestInterruptions

      public LiveEventIngestion withIngestInterruptions(List<LiveEventIngestInterruption> ingestInterruptions)
      Set the ingestInterruptions property: IngestInterruption entry list.
      Parameters:
      ingestInterruptions - the ingestInterruptions value to set.
      Returns:
      the LiveEventIngestion object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.