Class ListAlertOptions

java.lang.Object
com.azure.ai.metricsadvisor.models.ListAlertOptions

public final class ListAlertOptions extends Object
Describes the additional parameters for the API to list the alerts triggered.
  • Constructor Details

    • ListAlertOptions

      public ListAlertOptions()
  • Method Details

    • setAlertQueryTimeMode

      public ListAlertOptions setAlertQueryTimeMode(AlertQueryTimeMode alertQueryTimeMode)
      Set the query time mode.
      Parameters:
      alertQueryTimeMode - the alert Query Time Mode value to set.
      Returns:
      the ListAlertOptions object itself.
    • getTimeMode

      public AlertQueryTimeMode getTimeMode()
      Gets the time mode.
      Returns:
      The time mode.
    • getMaxPageSize

      public Integer getMaxPageSize()
      Gets limit indicating the number of items that will be included in a service returned page.
      Returns:
      The max page size value.
    • getSkip

      public Integer getSkip()
      Gets the number of items in the queried collection that are to be skipped and not included in the returned result.
      Returns:
      The skip value.
    • setMaxPageSize

      public ListAlertOptions setMaxPageSize(Integer maxPageSize)
      Sets limit indicating the number of items to be included in a service returned page.
      Parameters:
      maxPageSize - The max page size value.
      Returns:
      ListAlertOptions itself.
    • setSkip

      public ListAlertOptions setSkip(Integer skip)
      Sets the number of items in the queried collection that are to be skipped and not included in the returned result.
      Parameters:
      skip - The skip value.
      Returns:
      ListAlertOptions itself.