Class MonitorsApi.GetMonitorOptionalParameters

java.lang.Object
com.datadog.api.client.v1.api.MonitorsApi.GetMonitorOptionalParameters
Enclosing class:
MonitorsApi

public static class MonitorsApi.GetMonitorOptionalParameters extends Object
Manage optional parameters to getMonitor.
  • Constructor Details

    • GetMonitorOptionalParameters

      public GetMonitorOptionalParameters()
  • Method Details

    • groupStates

      public MonitorsApi.GetMonitorOptionalParameters groupStates(String groupStates)
      Set groupStates.
      Parameters:
      groupStates - When specified, shows additional information about the group states. Choose one or more from all, alert, warn, and no data. (optional)
      Returns:
      GetMonitorOptionalParameters
    • withDowntimes

      public MonitorsApi.GetMonitorOptionalParameters withDowntimes(Boolean 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

      public MonitorsApi.GetMonitorOptionalParameters withAssets(Boolean withAssets)
      Set withAssets.
      Parameters:
      withAssets - If this argument is set to true, the returned data includes all assets tied to this monitor. (optional)
      Returns:
      GetMonitorOptionalParameters