Class EventSourceCommonProperties

java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.ResourceProperties
com.azure.resourcemanager.timeseriesinsights.models.EventSourceCommonProperties
Direct Known Subclasses:
AzureEventSourceProperties

public class EventSourceCommonProperties extends ResourceProperties
Properties of the event source.
  • Constructor Details

    • EventSourceCommonProperties

      public EventSourceCommonProperties()
      Creates an instance of EventSourceCommonProperties 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 EventSourceCommonProperties 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 EventSourceCommonProperties object itself.
    • localTimestamp

      public LocalTimestamp localTimestamp()
      Get the localTimestamp property: An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
      Returns:
      the localTimestamp value.
    • withLocalTimestamp

      public EventSourceCommonProperties withLocalTimestamp(LocalTimestamp localTimestamp)
      Set the localTimestamp property: An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
      Parameters:
      localTimestamp - the localTimestamp value to set.
      Returns:
      the EventSourceCommonProperties object itself.
    • type

      public IngressStartAtType type()
      Get the type property: The type of the ingressStartAt, It can be "EarliestAvailable", "EventSourceCreationTime", "CustomEnqueuedTime".
      Returns:
      the type value.
    • withType

      Set the type property: The type of the ingressStartAt, It can be "EarliestAvailable", "EventSourceCreationTime", "CustomEnqueuedTime".
      Parameters:
      type - the type value to set.
      Returns:
      the EventSourceCommonProperties object itself.
    • time

      public String time()
      Get the time property: ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed.
      Returns:
      the time value.
    • withTime

      public EventSourceCommonProperties withTime(String time)
      Set the time property: ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed.
      Parameters:
      time - the time value to set.
      Returns:
      the EventSourceCommonProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ResourceProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.