Class ListAnomalyDimensionValuesOptions

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

public final class ListAnomalyDimensionValuesOptions extends Object
Describes the additional parameters for the API to list values of a dimension that have anomalies.
  • Constructor Details

    • ListAnomalyDimensionValuesOptions

      public ListAnomalyDimensionValuesOptions()
  • Method Details

    • 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 will be skipped and not included in the returned result.
      Returns:
      The skip value.
    • getDimensionToFilter

      public DimensionKey getDimensionToFilter()
      Gets the dimension filter.
      Returns:
      The dimension filter.
    • setMaxPageSize

      public ListAnomalyDimensionValuesOptions 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:
      The ListDimensionValuesWithAnomaliesOptions object itself.
    • setSkip

      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:
      ListDimensionValuesWithAnomaliesOptions object itself.
    • setDimensionToFilter

      public ListAnomalyDimensionValuesOptions setDimensionToFilter(DimensionKey dimensionToFilter)
      Sets the dimension filter. This enables additional filtering of dimension values with anomalies being queried. For example, let's say we've the dimensions 'category' and 'city', an incident occurs on 'city=redmond', and we would like to know which categories of product have the problem under 'city=redmond', so the api can query value of the dimension 'category', with dimensionFilter as 'city=redmond'.
      Parameters:
      dimensionToFilter - The dimension filter.
      Returns:
      ListDimensionValuesWithAnomaliesOptions object itself.