Class LiveEventStreamEventInner

java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.LiveEventStreamEventInner

public final class LiveEventStreamEventInner extends Object
The live event stream event.
  • Constructor Details

    • LiveEventStreamEventInner

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

    • eventType

      public LiveEventStreamEventType eventType()
      Get the eventType property: The type of the stream event. Format: StreamEvent/{eventType}.
      Returns:
      the eventType value.
    • withEventType

      public LiveEventStreamEventInner withEventType(LiveEventStreamEventType eventType)
      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

      public OffsetDateTime eventTime()
      Get the eventTime property: The time event raised.
      Returns:
      the eventTime value.
    • withEventTime

      public LiveEventStreamEventInner withEventTime(OffsetDateTime eventTime)
      Set the eventTime property: The time event raised.
      Parameters:
      eventTime - the eventTime value to set.
      Returns:
      the LiveEventStreamEventInner object itself.
    • eventLevel

      public LiveEventStreamEventLevel eventLevel()
      Get the eventLevel property: Event level.
      Returns:
      the eventLevel value.
    • withEventLevel

      public LiveEventStreamEventInner withEventLevel(LiveEventStreamEventLevel eventLevel)
      Set the eventLevel property: Event level.
      Parameters:
      eventLevel - the eventLevel value to set.
      Returns:
      the LiveEventStreamEventInner object itself.
    • data

      public LiveEventStreamEventData 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.