Class EventSourceMutableProperties
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.EventSourceMutableProperties
- Direct Known Subclasses:
EventHubEventSourceMutableProperties
,IoTHubEventSourceMutableProperties
An object that represents a set of mutable event source resource properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of EventSourceMutableProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the timestampPropertyName property: The event property that will be used as the event source's timestamp.void
validate()
Validates the instance.withTimestampPropertyName
(String timestampPropertyName) Set the timestampPropertyName property: The event property that will be used as the event source's timestamp.
-
Constructor Details
-
EventSourceMutableProperties
public EventSourceMutableProperties()Creates an instance of EventSourceMutableProperties class.
-
-
Method Details
-
timestampPropertyName
Get the timestampPropertyName property: The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.- Returns:
- the timestampPropertyName value.
-
withTimestampPropertyName
Set the timestampPropertyName property: The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.- Parameters:
timestampPropertyName
- the timestampPropertyName value to set.- Returns:
- the EventSourceMutableProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-