Class DowntimesApi.ListDowntimesOptionalParameters

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

public static class DowntimesApi.ListDowntimesOptionalParameters extends Object
Manage optional parameters to listDowntimes.
  • Constructor Details

    • ListDowntimesOptionalParameters

      public ListDowntimesOptionalParameters()
  • Method Details

    • currentOnly

      public DowntimesApi.ListDowntimesOptionalParameters currentOnly(Boolean currentOnly)
      Set currentOnly.
      Parameters:
      currentOnly - Only return downtimes that are active when the request is made. (optional)
      Returns:
      ListDowntimesOptionalParameters
    • 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:
      ListDowntimesOptionalParameters
    • pageOffset

      public DowntimesApi.ListDowntimesOptionalParameters pageOffset(Long pageOffset)
      Set pageOffset.
      Parameters:
      pageOffset - Specific offset to use as the beginning of the returned page. (optional, default to 0)
      Returns:
      ListDowntimesOptionalParameters
    • pageLimit

      public DowntimesApi.ListDowntimesOptionalParameters pageLimit(Long pageLimit)
      Set pageLimit.
      Parameters:
      pageLimit - Maximum number of downtimes in the response. (optional, default to 30)
      Returns:
      ListDowntimesOptionalParameters