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