@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOHistoryResponseData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FROM_TS |
static String |
JSON_PROPERTY_GROUP_BY |
static String |
JSON_PROPERTY_GROUPS |
static String |
JSON_PROPERTY_MONITORS |
static String |
JSON_PROPERTY_OVERALL |
static String |
JSON_PROPERTY_SERIES |
static String |
JSON_PROPERTY_THRESHOLDS |
static String |
JSON_PROPERTY_TO_TS |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_TYPE_ID |
boolean |
unparsed |
| Constructor and Description |
|---|
SLOHistoryResponseData() |
| Modifier and Type | Method and Description |
|---|---|
SLOHistoryResponseData |
addGroupByItem(String groupByItem) |
SLOHistoryResponseData |
addGroupsItem(SLOHistoryMonitor groupsItem) |
SLOHistoryResponseData |
addMonitorsItem(SLOHistoryMonitor monitorsItem) |
boolean |
equals(Object o)
Return true if this SLOHistoryResponseData object is equal to o.
|
SLOHistoryResponseData |
fromTs(Long fromTs) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getFromTs()
The
from timestamp in epoch seconds. |
List<String> |
getGroupBy()
For
metric based SLOs where the query includes a group-by clause, this represents
the list of grouping parameters. |
List<SLOHistoryMonitor> |
getGroups()
For grouped SLOs, this represents SLI data for specific groups.
|
List<SLOHistoryMonitor> |
getMonitors()
For multi-monitor SLOs, this represents SLI data for specific monitors.
|
SLOHistorySLIData |
getOverall()
An object that holds an SLI value and its associated data.
|
SLOHistoryMetrics |
getSeries()
A
metric based SLO history response. |
Map<String,SLOThreshold> |
getThresholds()
mapping of string timeframe to the SLO threshold.
|
Long |
getToTs()
The
to timestamp in epoch seconds. |
SLOType |
getType()
The type of the service level objective.
|
SLOTypeNumeric |
getTypeId()
A numeric representation of the type of the service level objective (
0 for
monitor, 1 for metric). |
SLOHistoryResponseData |
groupBy(List<String> groupBy) |
SLOHistoryResponseData |
groups(List<SLOHistoryMonitor> groups) |
int |
hashCode() |
SLOHistoryResponseData |
monitors(List<SLOHistoryMonitor> monitors) |
SLOHistoryResponseData |
overall(SLOHistorySLIData overall) |
SLOHistoryResponseData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SLOHistoryResponseData |
putThresholdsItem(String key,
SLOThreshold thresholdsItem) |
SLOHistoryResponseData |
series(SLOHistoryMetrics series) |
void |
setFromTs(Long fromTs) |
void |
setGroupBy(List<String> groupBy) |
void |
setGroups(List<SLOHistoryMonitor> groups) |
void |
setMonitors(List<SLOHistoryMonitor> monitors) |
void |
setOverall(SLOHistorySLIData overall) |
void |
setSeries(SLOHistoryMetrics series) |
void |
setThresholds(Map<String,SLOThreshold> thresholds) |
void |
setToTs(Long toTs) |
void |
setType(SLOType type) |
void |
setTypeId(SLOTypeNumeric typeId) |
SLOHistoryResponseData |
thresholds(Map<String,SLOThreshold> thresholds) |
String |
toString() |
SLOHistoryResponseData |
toTs(Long toTs) |
SLOHistoryResponseData |
type(SLOType type) |
SLOHistoryResponseData |
typeId(SLOTypeNumeric typeId) |
public boolean unparsed
public static final String JSON_PROPERTY_FROM_TS
public static final String JSON_PROPERTY_GROUP_BY
public static final String JSON_PROPERTY_GROUPS
public static final String JSON_PROPERTY_MONITORS
public static final String JSON_PROPERTY_OVERALL
public static final String JSON_PROPERTY_SERIES
public static final String JSON_PROPERTY_THRESHOLDS
public static final String JSON_PROPERTY_TO_TS
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE_ID
public SLOHistoryResponseData fromTs(Long fromTs)
@Nullable public Long getFromTs()
from timestamp in epoch seconds.public void setFromTs(Long fromTs)
public SLOHistoryResponseData groupBy(List<String> groupBy)
public SLOHistoryResponseData addGroupByItem(String groupByItem)
@Nullable public List<String> getGroupBy()
metric based SLOs where the query includes a group-by clause, this represents
the list of grouping parameters.
This is not included in responses for monitor based SLOs.
public SLOHistoryResponseData groups(List<SLOHistoryMonitor> groups)
public SLOHistoryResponseData addGroupsItem(SLOHistoryMonitor groupsItem)
@Nullable public List<SLOHistoryMonitor> getGroups()
This is not included in the responses for metric based SLOs.
public void setGroups(List<SLOHistoryMonitor> groups)
public SLOHistoryResponseData monitors(List<SLOHistoryMonitor> monitors)
public SLOHistoryResponseData addMonitorsItem(SLOHistoryMonitor monitorsItem)
@Nullable public List<SLOHistoryMonitor> getMonitors()
This is not included in the responses for metric based SLOs.
public void setMonitors(List<SLOHistoryMonitor> monitors)
public SLOHistoryResponseData overall(SLOHistorySLIData overall)
@Nullable public SLOHistorySLIData getOverall()
public void setOverall(SLOHistorySLIData overall)
public SLOHistoryResponseData series(SLOHistoryMetrics series)
@Nullable public SLOHistoryMetrics getSeries()
metric based SLO history response.
This is not included in responses for monitor based SLOs.
public void setSeries(SLOHistoryMetrics series)
public SLOHistoryResponseData thresholds(Map<String,SLOThreshold> thresholds)
public SLOHistoryResponseData putThresholdsItem(String key, SLOThreshold thresholdsItem)
@Nullable public Map<String,SLOThreshold> getThresholds()
public void setThresholds(Map<String,SLOThreshold> thresholds)
public SLOHistoryResponseData toTs(Long toTs)
@Nullable public Long getToTs()
to timestamp in epoch seconds.public void setToTs(Long toTs)
public SLOHistoryResponseData type(SLOType type)
@Nullable public SLOType getType()
public void setType(SLOType type)
public SLOHistoryResponseData typeId(SLOTypeNumeric typeId)
@Nullable public SLOTypeNumeric getTypeId()
0 for
monitor, 1 for metric). Always included in service level objective responses.
Ignored in create/update requests.public void setTypeId(SLOTypeNumeric typeId)
public SLOHistoryResponseData putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.