Class AlarmPolicy
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cloudhsm.v20191112.models.AlarmPolicy
-
public class AlarmPolicy extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AlarmPolicy()
AlarmPolicy(AlarmPolicy 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBeginTime()
Get 在这个时间后才允许发送告警String
getEndTime()
Get 在这个时间前才允许发送告警String
getEvent()
Get 告警事件Long
getLimit()
Get 告警阈值Long
getStatus()
Get 告警策略是否生效,0:停用,1:启用String
getUin()
Get 用户账号void
setBeginTime(String BeginTime)
Set 在这个时间后才允许发送告警void
setEndTime(String EndTime)
Set 在这个时间前才允许发送告警void
setEvent(String Event)
Set 告警事件void
setLimit(Long Limit)
Set 告警阈值void
setStatus(Long Status)
Set 告警策略是否生效,0:停用,1:启用void
setUin(String Uin)
Set 用户账号void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
AlarmPolicy
public AlarmPolicy()
-
AlarmPolicy
public AlarmPolicy(AlarmPolicy 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.
-
-
Method Detail
-
getUin
public String getUin()
Get 用户账号- Returns:
- Uin 用户账号
-
setUin
public void setUin(String Uin)
Set 用户账号- Parameters:
Uin
- 用户账号
-
getEvent
public String getEvent()
Get 告警事件- Returns:
- Event 告警事件
-
setEvent
public void setEvent(String Event)
Set 告警事件- Parameters:
Event
- 告警事件
-
getLimit
public Long getLimit()
Get 告警阈值- Returns:
- Limit 告警阈值
-
setLimit
public void setLimit(Long Limit)
Set 告警阈值- Parameters:
Limit
- 告警阈值
-
getStatus
public Long getStatus()
Get 告警策略是否生效,0:停用,1:启用- Returns:
- Status 告警策略是否生效,0:停用,1:启用
-
setStatus
public void setStatus(Long Status)
Set 告警策略是否生效,0:停用,1:启用- Parameters:
Status
- 告警策略是否生效,0:停用,1:启用
-
getBeginTime
public String getBeginTime()
Get 在这个时间后才允许发送告警- Returns:
- BeginTime 在这个时间后才允许发送告警
-
setBeginTime
public void setBeginTime(String BeginTime)
Set 在这个时间后才允许发送告警- Parameters:
BeginTime
- 在这个时间后才允许发送告警
-
getEndTime
public String getEndTime()
Get 在这个时间前才允许发送告警- Returns:
- EndTime 在这个时间前才允许发送告警
-
setEndTime
public void setEndTime(String EndTime)
Set 在这个时间前才允许发送告警- Parameters:
EndTime
- 在这个时间前才允许发送告警
-
-