Class ListAnomalyDimensionValuesOptions
java.lang.Object
com.azure.ai.metricsadvisor.models.ListAnomalyDimensionValuesOptions
Describes the additional parameters for the API to list values of a dimension that have anomalies.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the dimension filter.Gets limit indicating the number of items that will be included in a service returned page.getSkip()
Gets the number of items in the queried collection that will be skipped and not included in the returned result.setDimensionToFilter
(DimensionKey dimensionToFilter) Sets the dimension filter.setMaxPageSize
(Integer maxPageSize) Sets limit indicating the number of items to be included in a service returned page.Sets the number of items in the queried collection that are to be skipped and not included in the returned result.
-
Constructor Details
-
ListAnomalyDimensionValuesOptions
public ListAnomalyDimensionValuesOptions()
-
-
Method Details
-
getMaxPageSize
Gets limit indicating the number of items that will be included in a service returned page.- Returns:
- The max page size value.
-
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
Gets the dimension filter.- Returns:
- The dimension filter.
-
setMaxPageSize
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
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.
-