Class WatcherListResult

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

public final class WatcherListResult extends Object
The response model for the list watcher operation.
  • Constructor Details

    • WatcherListResult

      public WatcherListResult()
  • Method Details

    • value

      public List<WatcherInner> value()
      Get the value property: Gets or sets a list of watchers.
      Returns:
      the value value.
    • withValue

      public WatcherListResult withValue(List<WatcherInner> value)
      Set the value property: Gets or sets a list of watchers.
      Parameters:
      value - the value value to set.
      Returns:
      the WatcherListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: Gets or sets the next link.
      Returns:
      the nextLink value.
    • withNextLink

      public WatcherListResult withNextLink(String nextLink)
      Set the nextLink property: Gets or sets the next link.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the WatcherListResult object itself.
    • validate

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