public static class MonitorsApi.ListMonitorsOptionalParameters extends Object
| Constructor and Description |
|---|
ListMonitorsOptionalParameters() |
| Modifier and Type | Method and Description |
|---|---|
MonitorsApi.ListMonitorsOptionalParameters |
groupStates(String groupStates)
Set groupStates.
|
MonitorsApi.ListMonitorsOptionalParameters |
idOffset(Long idOffset)
Set idOffset.
|
MonitorsApi.ListMonitorsOptionalParameters |
monitorTags(String monitorTags)
Set monitorTags.
|
MonitorsApi.ListMonitorsOptionalParameters |
name(String name)
Set name.
|
MonitorsApi.ListMonitorsOptionalParameters |
page(Long page)
Set page.
|
MonitorsApi.ListMonitorsOptionalParameters |
pageSize(Integer pageSize)
Set pageSize.
|
MonitorsApi.ListMonitorsOptionalParameters |
tags(String tags)
Set tags.
|
MonitorsApi.ListMonitorsOptionalParameters |
withDowntimes(Boolean withDowntimes)
Set withDowntimes.
|
public MonitorsApi.ListMonitorsOptionalParameters groupStates(String groupStates)
groupStates - When specified, shows additional information about the group states.
Choose one or more from all, alert, warn, and
no data. (optional)public MonitorsApi.ListMonitorsOptionalParameters name(String name)
name - A string to filter monitors by name. (optional)public MonitorsApi.ListMonitorsOptionalParameters tags(String tags)
tags - A comma separated list indicating what tags, if any, should be used to filter the
list of monitors by scope. For example, host:host0. (optional)public MonitorsApi.ListMonitorsOptionalParameters monitorTags(String monitorTags)
monitorTags - A comma separated list indicating what service and/or custom tags, if any,
should be used to filter the list of monitors. Tags created in the Datadog UI
automatically have the service key prepended. For example, service:my-app.
(optional)public MonitorsApi.ListMonitorsOptionalParameters withDowntimes(Boolean withDowntimes)
withDowntimes - If this argument is set to true, then the returned data includes all
current active downtimes for each monitor. (optional)public MonitorsApi.ListMonitorsOptionalParameters idOffset(Long idOffset)
idOffset - Use this parameter for paginating through large sets of monitors. Start with
a value of zero, make a request, set the value to the last ID of result set, and then
repeat until the response is empty. (optional)public MonitorsApi.ListMonitorsOptionalParameters page(Long page)
page - The page to start paginating from. If this argument is not specified, the request
returns all monitors without pagination. (optional)public MonitorsApi.ListMonitorsOptionalParameters pageSize(Integer pageSize)
pageSize - The number of monitors to return per page. If the page argument is not
specified, the default behavior returns all monitors without a page_size
limit. However, if page is specified and page_size is not, the argument
defaults to 100. (optional, default to 100)Copyright © 2024. All rights reserved.