Class WatcherUpdateProperties

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.WatcherUpdateProperties

public final class WatcherUpdateProperties extends Object
The properties of the update watcher operation.
  • Constructor Details

    • WatcherUpdateProperties

      public WatcherUpdateProperties()
  • Method Details

    • executionFrequencyInSeconds

      public Long executionFrequencyInSeconds()
      Get the executionFrequencyInSeconds property: Gets or sets the frequency at which the watcher is invoked.
      Returns:
      the executionFrequencyInSeconds value.
    • withExecutionFrequencyInSeconds

      public WatcherUpdateProperties withExecutionFrequencyInSeconds(Long executionFrequencyInSeconds)
      Set the executionFrequencyInSeconds property: Gets or sets the frequency at which the watcher is invoked.
      Parameters:
      executionFrequencyInSeconds - the executionFrequencyInSeconds value to set.
      Returns:
      the WatcherUpdateProperties object itself.
    • validate

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