Class TrackingEventsDefinition
java.lang.Object
com.azure.resourcemanager.logic.models.TrackingEventsDefinition
The tracking events definition.
-
Constructor Summary
ConstructorDescriptionCreates an instance of TrackingEventsDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionevents()
Get the events property: The events.Get the sourceType property: The source type.Get the trackEventsOptions property: The track events options.void
validate()
Validates the instance.withEvents
(List<TrackingEvent> events) Set the events property: The events.withSourceType
(String sourceType) Set the sourceType property: The source type.withTrackEventsOptions
(TrackEventsOperationOptions trackEventsOptions) Set the trackEventsOptions property: The track events options.
-
Constructor Details
-
TrackingEventsDefinition
public TrackingEventsDefinition()Creates an instance of TrackingEventsDefinition class.
-
-
Method Details
-
sourceType
Get the sourceType property: The source type.- Returns:
- the sourceType value.
-
withSourceType
Set the sourceType property: The source type.- Parameters:
sourceType
- the sourceType value to set.- Returns:
- the TrackingEventsDefinition object itself.
-
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
Get the events property: The events.- Returns:
- the events value.
-
withEvents
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.
-