public final class TrackingEventsDefinition extends Object
Constructor and Description |
---|
TrackingEventsDefinition() |
Modifier and Type | Method and Description |
---|---|
List<TrackingEvent> |
events()
Get the events property: The events.
|
String |
sourceType()
Get the sourceType property: The source type.
|
TrackEventsOperationOptions |
trackEventsOptions()
Get the trackEventsOptions property: The track events options.
|
void |
validate()
Validates the instance.
|
TrackingEventsDefinition |
withEvents(List<TrackingEvent> events)
Set the events property: The events.
|
TrackingEventsDefinition |
withSourceType(String sourceType)
Set the sourceType property: The source type.
|
TrackingEventsDefinition |
withTrackEventsOptions(TrackEventsOperationOptions trackEventsOptions)
Set the trackEventsOptions property: The track events options.
|
public String sourceType()
public TrackingEventsDefinition withSourceType(String sourceType)
sourceType
- the sourceType value to set.public TrackEventsOperationOptions trackEventsOptions()
public TrackingEventsDefinition withTrackEventsOptions(TrackEventsOperationOptions trackEventsOptions)
trackEventsOptions
- the trackEventsOptions value to set.public List<TrackingEvent> events()
public TrackingEventsDefinition withEvents(List<TrackingEvent> events)
events
- the events value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.