Package com.datadog.api.client.v1.api
Class SnapshotsApi.GetGraphSnapshotOptionalParameters
java.lang.Object
com.datadog.api.client.v1.api.SnapshotsApi.GetGraphSnapshotOptionalParameters
- Enclosing class:
- SnapshotsApi
Manage optional parameters to getGraphSnapshot.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneventQuery(String eventQuery) Set eventQuery.Set graphDef.Set height.metricQuery(String metricQuery) Set metricQuery.Set title.Set width.
-
Constructor Details
-
GetGraphSnapshotOptionalParameters
public GetGraphSnapshotOptionalParameters()
-
-
Method Details
-
metricQuery
Set metricQuery.- Parameters:
metricQuery- The metric query. (optional)- Returns:
- GetGraphSnapshotOptionalParameters
-
eventQuery
Set eventQuery.- Parameters:
eventQuery- A query that adds event bands to the graph. (optional)- Returns:
- GetGraphSnapshotOptionalParameters
-
graphDef
Set graphDef.- Parameters:
graphDef- A JSON document defining the graph.graph_defcan be used instead ofmetric_query. The JSON document uses the grammar defined here and should be formatted to a single line then URL encoded. (optional)- Returns:
- GetGraphSnapshotOptionalParameters
-
title
Set title.- Parameters:
title- A title for the graph. If no title is specified, the graph does not have a title. (optional)- Returns:
- GetGraphSnapshotOptionalParameters
-
height
Set height.- Parameters:
height- The height of the graph. If no height is specified, the graph's original height is used. (optional)- Returns:
- GetGraphSnapshotOptionalParameters
-
width
Set width.- Parameters:
width- The width of the graph. If no width is specified, the graph's original width is used. (optional)- Returns:
- GetGraphSnapshotOptionalParameters
-