public class CountEventsRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CountEventsRequest.TypeEnum
查询类型。type=active_alert代表查询活动告警,type=history_alert代表查询历史告警。不传或者传其他值则返回指定查询条件的所有信息。
|
| Constructor and Description |
|---|
CountEventsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
EventQueryParam |
getBody()
Get body
|
CountEventsRequest.TypeEnum |
getType()
查询类型。type=active_alert代表查询活动告警,type=history_alert代表查询历史告警。不传或者传其他值则返回指定查询条件的所有信息。
|
int |
hashCode() |
void |
setBody(EventQueryParam body) |
void |
setType(CountEventsRequest.TypeEnum type) |
String |
toString() |
CountEventsRequest |
withBody(java.util.function.Consumer<EventQueryParam> bodySetter) |
CountEventsRequest |
withBody(EventQueryParam body) |
CountEventsRequest |
withType(CountEventsRequest.TypeEnum type) |
public CountEventsRequest withType(CountEventsRequest.TypeEnum type)
public CountEventsRequest.TypeEnum getType()
public void setType(CountEventsRequest.TypeEnum type)
public CountEventsRequest withBody(EventQueryParam body)
public CountEventsRequest withBody(java.util.function.Consumer<EventQueryParam> bodySetter)
public EventQueryParam getBody()
public void setBody(EventQueryParam body)
Copyright © 2022. All rights reserved.