Class EventSourceMutableProperties

java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.EventSourceMutableProperties
Direct Known Subclasses:
EventHubEventSourceMutableProperties, IoTHubEventSourceMutableProperties

public class EventSourceMutableProperties extends Object
An object that represents a set of mutable event source resource properties.
  • Constructor Details

    • EventSourceMutableProperties

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

    • timestampPropertyName

      public String 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

      public EventSourceMutableProperties withTimestampPropertyName(String timestampPropertyName)
      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.