Package com.datadog.api.client.v1.api
Class MonitorsApi.GetMonitorOptionalParameters
java.lang.Object
com.datadog.api.client.v1.api.MonitorsApi.GetMonitorOptionalParameters
- Enclosing class:
- MonitorsApi
Manage optional parameters to getMonitor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroupStates(String groupStates) Set groupStates.withAssets(Boolean withAssets) Set withAssets.withDowntimes(Boolean withDowntimes) Set withDowntimes.
-
Constructor Details
-
GetMonitorOptionalParameters
public GetMonitorOptionalParameters()
-
-
Method Details
-
groupStates
Set groupStates.- Parameters:
groupStates- When specified, shows additional information about the group states. Choose one or more fromall,alert,warn, andno data. (optional)- Returns:
- GetMonitorOptionalParameters
-
withDowntimes
Set withDowntimes.- Parameters:
withDowntimes- If this argument is set to true, then the returned data includes all current active downtimes for the monitor. (optional)- Returns:
- GetMonitorOptionalParameters
-
withAssets
Set withAssets.- Parameters:
withAssets- If this argument is set totrue, the returned data includes all assets tied to this monitor. (optional)- Returns:
- GetMonitorOptionalParameters
-