public class CountEventsResponse extends SdkResponse
| Constructor and Description |
|---|
CountEventsResponse() |
| Modifier and Type | Method and Description |
|---|---|
CountEventsResponse |
addSeriesItem(EventSeries seriesItem) |
CountEventsResponse |
addTimestampsItem(Long timestampsItem) |
boolean |
equals(Object o) |
List<EventSeries> |
getSeries()
事件或者告警不同级别相同时间序列对应的统计结果。
|
Long |
getStep()
统计步长。毫秒数,例如一分钟则填写为60000。
|
List<Long> |
getTimestamps()
统计结果对应的时间序列。
|
int |
hashCode() |
void |
setSeries(List<EventSeries> series) |
void |
setStep(Long step) |
void |
setTimestamps(List<Long> timestamps) |
String |
toString() |
CountEventsResponse |
withSeries(java.util.function.Consumer<List<EventSeries>> seriesSetter) |
CountEventsResponse |
withSeries(List<EventSeries> series) |
CountEventsResponse |
withStep(Long step) |
CountEventsResponse |
withTimestamps(java.util.function.Consumer<List<Long>> timestampsSetter) |
CountEventsResponse |
withTimestamps(List<Long> timestamps) |
getHttpStatusCode, setHttpStatusCodepublic CountEventsResponse withStep(Long step)
public Long getStep()
public void setStep(Long step)
public CountEventsResponse withTimestamps(List<Long> timestamps)
public CountEventsResponse addTimestampsItem(Long timestampsItem)
public CountEventsResponse withTimestamps(java.util.function.Consumer<List<Long>> timestampsSetter)
public CountEventsResponse withSeries(List<EventSeries> series)
public CountEventsResponse addSeriesItem(EventSeries seriesItem)
public CountEventsResponse withSeries(java.util.function.Consumer<List<EventSeries>> seriesSetter)
public List<EventSeries> getSeries()
public void setSeries(List<EventSeries> series)
Copyright © 2022. All rights reserved.