Class LiveEventStreamEventInner
java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.LiveEventStreamEventInner
The live event stream event.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LiveEventStreamEventInner class. -
Method Summary
Modifier and TypeMethodDescriptiondata()
Get the data property: Event data based on event type.Get the eventLevel property: Event level.Get the eventTime property: The time event raised.Get the eventType property: The type of the stream event.void
validate()
Validates the instance.Set the data property: Event data based on event type.withEventLevel
(LiveEventStreamEventLevel eventLevel) Set the eventLevel property: Event level.withEventTime
(OffsetDateTime eventTime) Set the eventTime property: The time event raised.withEventType
(LiveEventStreamEventType eventType) Set the eventType property: The type of the stream event.
-
Constructor Details
-
LiveEventStreamEventInner
public LiveEventStreamEventInner()Creates an instance of LiveEventStreamEventInner class.
-
-
Method Details
-
eventType
Get the eventType property: The type of the stream event. Format: StreamEvent/{eventType}.- Returns:
- the eventType value.
-
withEventType
Set the eventType property: The type of the stream event. Format: StreamEvent/{eventType}.- Parameters:
eventType
- the eventType value to set.- Returns:
- the LiveEventStreamEventInner object itself.
-
eventTime
Get the eventTime property: The time event raised.- Returns:
- the eventTime value.
-
withEventTime
Set the eventTime property: The time event raised.- Parameters:
eventTime
- the eventTime value to set.- Returns:
- the LiveEventStreamEventInner object itself.
-
eventLevel
Get the eventLevel property: Event level.- Returns:
- the eventLevel value.
-
withEventLevel
Set the eventLevel property: Event level.- Parameters:
eventLevel
- the eventLevel value to set.- Returns:
- the LiveEventStreamEventInner object itself.
-
data
Get the data property: Event data based on event type.- Returns:
- the data value.
-
withData
Set the data property: Event data based on event type.- Parameters:
data
- the data value to set.- Returns:
- the LiveEventStreamEventInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-