Class EventHubEventSourceMutableProperties
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.EventSourceMutableProperties
com.azure.resourcemanager.timeseriesinsights.fluent.models.EventHubEventSourceMutableProperties
An object that represents a set of mutable EventHub event source resource properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of EventHubEventSourceMutableProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the sharedAccessKey property: The value of the shared access key that grants the Time Series Insights service read access to the event hub.void
validate()
Validates the instance.withSharedAccessKey
(String sharedAccessKey) Set the sharedAccessKey property: The value of the shared access key that grants the Time Series Insights service read access to the event hub.withTimestampPropertyName
(String timestampPropertyName) Set the timestampPropertyName property: The event property that will be used as the event source's timestamp.Methods inherited from class com.azure.resourcemanager.timeseriesinsights.models.EventSourceMutableProperties
timestampPropertyName
-
Constructor Details
-
EventHubEventSourceMutableProperties
public EventHubEventSourceMutableProperties()Creates an instance of EventHubEventSourceMutableProperties class.
-
-
Method Details
-
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.- Overrides:
withTimestampPropertyName
in classEventSourceMutableProperties
- Parameters:
timestampPropertyName
- the timestampPropertyName value to set.- Returns:
- the EventSourceMutableProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classEventSourceMutableProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.