Class TrackingEventsDefinition

java.lang.Object
com.azure.resourcemanager.logic.models.TrackingEventsDefinition

public final class TrackingEventsDefinition extends Object
The tracking events definition.
  • Constructor Details

    • TrackingEventsDefinition

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

    • sourceType

      public String sourceType()
      Get the sourceType property: The source type.
      Returns:
      the sourceType value.
    • withSourceType

      public TrackingEventsDefinition withSourceType(String sourceType)
      Set the sourceType property: The source type.
      Parameters:
      sourceType - the sourceType value to set.
      Returns:
      the TrackingEventsDefinition object itself.
    • trackEventsOptions

      public TrackEventsOperationOptions trackEventsOptions()
      Get the trackEventsOptions property: The track events options.
      Returns:
      the trackEventsOptions value.
    • withTrackEventsOptions

      public TrackingEventsDefinition withTrackEventsOptions(TrackEventsOperationOptions trackEventsOptions)
      Set the trackEventsOptions property: The track events options.
      Parameters:
      trackEventsOptions - the trackEventsOptions value to set.
      Returns:
      the TrackingEventsDefinition object itself.
    • events

      public List<TrackingEvent> events()
      Get the events property: The events.
      Returns:
      the events value.
    • withEvents

      public TrackingEventsDefinition withEvents(List<TrackingEvent> events)
      Set the events property: The events.
      Parameters:
      events - the events value to set.
      Returns:
      the TrackingEventsDefinition object itself.
    • validate

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