Class WatcherUpdateParameters

java.lang.Object
com.azure.resourcemanager.automation.models.WatcherUpdateParameters

public final class WatcherUpdateParameters extends Object
The WatcherUpdateParameters model.
  • Constructor Details

    • WatcherUpdateParameters

      public WatcherUpdateParameters()
  • Method Details

    • name

      public String name()
      Get the name property: Gets or sets the name of the resource.
      Returns:
      the name value.
    • withName

      public WatcherUpdateParameters withName(String name)
      Set the name property: Gets or sets the name of the resource.
      Parameters:
      name - the name value to set.
      Returns:
      the WatcherUpdateParameters object itself.
    • 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 WatcherUpdateParameters 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 WatcherUpdateParameters object itself.
    • validate

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