Class LiveEventIngestion
java.lang.Object
com.azure.resourcemanager.mediaservices.models.LiveEventIngestion
The live event ingestion telemetry data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbegin()
Get the begin property: Ingestion begin time in UTC.end()
Get the end property: Ingestion end time in UTC.Get the endReason property: Reason why ingestion stops.Get the ingestInterruptions property: IngestInterruption entry list.Get the streamName property: Ingestion stream name.void
validate()
Validates the instance.withBegin
(OffsetDateTime begin) Set the begin property: Ingestion begin time in UTC.withEnd
(OffsetDateTime end) Set the end property: Ingestion end time in UTC.withEndReason
(String endReason) Set the endReason property: Reason why ingestion stops.withIngestInterruptions
(List<LiveEventIngestInterruption> ingestInterruptions) Set the ingestInterruptions property: IngestInterruption entry list.withStreamName
(String streamName) Set the streamName property: Ingestion stream name.
-
Constructor Details
-
LiveEventIngestion
public LiveEventIngestion()Creates an instance of LiveEventIngestion class.
-
-
Method Details
-
streamName
Get the streamName property: Ingestion stream name.- Returns:
- the streamName value.
-
withStreamName
Set the streamName property: Ingestion stream name.- Parameters:
streamName
- the streamName value to set.- Returns:
- the LiveEventIngestion object itself.
-
begin
Get the begin property: Ingestion begin time in UTC.- Returns:
- the begin value.
-
withBegin
Set the begin property: Ingestion begin time in UTC.- Parameters:
begin
- the begin value to set.- Returns:
- the LiveEventIngestion object itself.
-
end
Get the end property: Ingestion end time in UTC. Empty if it's not stopped yet.- Returns:
- the end value.
-
withEnd
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
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
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
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.
-