Package com.datadog.api.client.v2.api
Class DowntimesApi.GetDowntimeOptionalParameters
java.lang.Object
com.datadog.api.client.v2.api.DowntimesApi.GetDowntimeOptionalParameters
- Enclosing class:
- DowntimesApi
Manage optional parameters to getDowntime.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet include.Set withRunAs.
-
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 arecreated_byandmonitor. (optional)- Returns:
- GetDowntimeOptionalParameters
-
withRunAs
Set withRunAs.- Parameters:
withRunAs- Iftrue, include therun_asattribute 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
-