public class SearchAlertHistoriesRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
alertId
The ID of the alert rule.
|
Integer |
alertType
The type of the alert rule.
|
Integer |
currentPage
The number of the page to return.
|
Long |
endTime
The end of the time range to query.
|
Integer |
pageSize
The number of entries to return on each page.
|
String |
regionId
The ID of the region.
|
Long |
startTime
The beginning of the time range to query.
|
| 构造器和说明 |
|---|
SearchAlertHistoriesRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SearchAlertHistoriesRequest |
build(Map<String,?> map) |
Long |
getAlertId() |
Integer |
getAlertType() |
Integer |
getCurrentPage() |
Long |
getEndTime() |
Integer |
getPageSize() |
String |
getRegionId() |
Long |
getStartTime() |
SearchAlertHistoriesRequest |
setAlertId(Long alertId) |
SearchAlertHistoriesRequest |
setAlertType(Integer alertType) |
SearchAlertHistoriesRequest |
setCurrentPage(Integer currentPage) |
SearchAlertHistoriesRequest |
setEndTime(Long endTime) |
SearchAlertHistoriesRequest |
setPageSize(Integer pageSize) |
SearchAlertHistoriesRequest |
setRegionId(String regionId) |
SearchAlertHistoriesRequest |
setStartTime(Long startTime) |
@NameInMap(value="AlertId") public Long alertId
The ID of the alert rule. You can call the SearchAlertRules operation and view the Id parameter in the response. For more information, see SearchAlertRules.
123
@NameInMap(value="AlertType") public Integer alertType
The type of the alert rule. Valid values:
1: a custom alert rule that is used to monitor drill-down data sets3: a custom alert rule that is used to monitor tiled data sets4: an alert rule that is used to monitor web pages, including the default alert rule for browser monitoring5: an alert rule that is used to monitor applications, including the default alert rule for application monitoring6: the default alert rule for browser monitoring7: the default alert rule for application monitoring8: a Tracing Analysis alert rule101: a Prometheus alert rule4
@NameInMap(value="CurrentPage") public Integer currentPage
The number of the page to return. Default value: 1.
1
@NameInMap(value="EndTime") public Long endTime
The end of the time range to query. The value is a UNIX timestamp of the LONG data type. Unit: milliseconds. The default value is the current time.
example:1579499626000
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page. Default value: 10.
10
@NameInMap(value="RegionId") public String regionId
The ID of the region. Default value: cn-hangzhou.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="StartTime") public Long startTime
The beginning of the time range to query. The value is a UNIX timestamp of the LONG data type. Unit: milliseconds. The default value is 10 minutes before the current time.
example:1595568910000
public static SearchAlertHistoriesRequest build(Map<String,?> map) throws Exception
Exceptionpublic SearchAlertHistoriesRequest setAlertId(Long alertId)
public Long getAlertId()
public SearchAlertHistoriesRequest setAlertType(Integer alertType)
public Integer getAlertType()
public SearchAlertHistoriesRequest setCurrentPage(Integer currentPage)
public Integer getCurrentPage()
public SearchAlertHistoriesRequest setEndTime(Long endTime)
public Long getEndTime()
public SearchAlertHistoriesRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public SearchAlertHistoriesRequest setRegionId(String regionId)
public String getRegionId()
public SearchAlertHistoriesRequest setStartTime(Long startTime)
public Long getStartTime()
Copyright © 2024. All rights reserved.