public class DescribeAlertRecordHistoryRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeAlertRecordHistoryRequest() |
DescribeAlertRecordHistoryRequest(DescribeAlertRecordHistoryRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Filter[] |
getFilters()
Get - alertId: Filter by alarm policy ID.
|
Long |
getFrom()
Get Start time of the query range, which is a Unix timestamp in ms
|
Long |
getLimit()
Get Maximum number of entries per page.
|
Long |
getOffset()
Get Page offset.
|
Long |
getTo()
Get End time of the query range, which is a Unix timestamp in ms
|
void |
setFilters(Filter[] Filters)
Set - alertId: Filter by alarm policy ID.
|
void |
setFrom(Long From)
Set Start time of the query range, which is a Unix timestamp in ms
|
void |
setLimit(Long Limit)
Set Maximum number of entries per page.
|
void |
setOffset(Long Offset)
Set Page offset.
|
void |
setTo(Long To)
Set End time of the query range, which is a Unix timestamp in ms
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeAlertRecordHistoryRequest()
public DescribeAlertRecordHistoryRequest(DescribeAlertRecordHistoryRequest source)
public Long getFrom()
public void setFrom(Long From)
From
- Start time of the query range, which is a Unix timestamp in mspublic Long getTo()
public void setTo(Long To)
To
- End time of the query range, which is a Unix timestamp in mspublic Long getOffset()
public void setOffset(Long Offset)
Offset
- Page offset. Default value: 0public Long getLimit()
public void setLimit(Long Limit)
Limit
- Maximum number of entries per page. Maximum value: 100public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- - alertId: Filter by alarm policy ID. Type: String; optional
- topicId: Filter by ID of monitored object. Type: String; optional
- status: Filter by alarm status. Type: String, optional. Valid values: `0` (uncleared), `1` (cleared), `2` (expired)
- alarmLevel: Filter by alarm severity. Type: String, optional. Valid values: `0` (Warn), `1` (Info), `2` (Critical)
Each request can have up to 10 `Filters` and 100 `Filter.Values`.Copyright © 2024. All rights reserved.