Class EventSourceCreateOrUpdateParameters

java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.CreateOrUpdateTrackedResourceProperties
com.azure.resourcemanager.timeseriesinsights.models.EventSourceCreateOrUpdateParameters
Direct Known Subclasses:
EventHubEventSourceCreateOrUpdateParameters, IoTHubEventSourceCreateOrUpdateParameters

public class EventSourceCreateOrUpdateParameters extends CreateOrUpdateTrackedResourceProperties
Parameters supplied to the Create or Update Event Source operation.
  • Constructor Details

    • EventSourceCreateOrUpdateParameters

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

    • 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 EventSourceCreateOrUpdateParameters 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 EventSourceCreateOrUpdateParameters object itself.
    • withLocation

      public EventSourceCreateOrUpdateParameters withLocation(String location)
      Set the location property: The location of the resource.
      Overrides:
      withLocation in class CreateOrUpdateTrackedResourceProperties
      Parameters:
      location - the location value to set.
      Returns:
      the CreateOrUpdateTrackedResourceProperties object itself.
    • withTags

      Set the tags property: Key-value pairs of additional properties for the resource.
      Overrides:
      withTags in class CreateOrUpdateTrackedResourceProperties
      Parameters:
      tags - the tags value to set.
      Returns:
      the CreateOrUpdateTrackedResourceProperties object itself.
    • validate

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