Class ListAlertOptions
java.lang.Object
com.azure.ai.metricsadvisor.models.ListAlertOptions
Describes the additional parameters for the API to list the alerts triggered.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets 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 are to be skipped and not included in the returned result.Gets the time mode.setAlertQueryTimeMode
(AlertQueryTimeMode alertQueryTimeMode) Set the query time mode.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
-
ListAlertOptions
public ListAlertOptions()
-
-
Method Details
-
setAlertQueryTimeMode
Set the query time mode.- Parameters:
alertQueryTimeMode
- the alert Query Time Mode value to set.- Returns:
- the ListAlertOptions object itself.
-
getTimeMode
Gets the time mode.- Returns:
- The time mode.
-
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 are to be skipped and not included in the returned result.- Returns:
- The skip value.
-
setMaxPageSize
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
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.
-