Class DowntimesApi.GetDowntimeOptionalParameters

java.lang.Object
com.datadog.api.client.v2.api.DowntimesApi.GetDowntimeOptionalParameters
Enclosing class:
DowntimesApi

public static class DowntimesApi.GetDowntimeOptionalParameters extends Object
Manage optional parameters to getDowntime.
  • Constructor Details

    • GetDowntimeOptionalParameters

      public GetDowntimeOptionalParameters()
  • Method Details

    • include

      Set include.
      Parameters:
      include - Comma-separated list of resource paths for related resources to include in the response. Supported resource paths are created_by and monitor. (optional)
      Returns:
      GetDowntimeOptionalParameters
    • withRunAs

      Set withRunAs.
      Parameters:
      withRunAs - If true, include the run_as attribute in the response, which lists the principals allowed to act on behalf of the downtime. Note: This feature is currently in Preview and may not be available for all organizations. (optional, default to false)
      Returns:
      GetDowntimeOptionalParameters