public class AlarmIndicatorInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
AlarmIndicatorInfo() |
AlarmIndicatorInfo(AlarmIndicatorInfo 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 |
---|---|
Long |
getAlarmIndicator()
Get 告警指标,0表示任务失败,1表示任务运行超时,2表示任务停止,3表示任务暂停
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getAlarmIndicatorDesc()
Get 告警指标描述
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getAlarmIndicatorUnit()
Get 告警指标阈值单位:ms(毫秒)、s(秒)、min(分钟)
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getDuration()
Get 告警周期
|
String |
getDurationUnit()
Get 告警周期单位
|
Long |
getEstimatedTime()
Get 预计的超时时间,分钟级别
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getId()
Get 指标id
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getMaxTimes()
Get 周期内最多告警次数
|
Long |
getOperator()
Get 实时任务告警需要的参数
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getTriggerType()
Get 指标阈值,1表示离线任务第一次运行失败,2表示离线任务所有重试完成后失败
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAlarmIndicator(Long AlarmIndicator)
Set 告警指标,0表示任务失败,1表示任务运行超时,2表示任务停止,3表示任务暂停
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAlarmIndicatorDesc(String AlarmIndicatorDesc)
Set 告警指标描述
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAlarmIndicatorUnit(String AlarmIndicatorUnit)
Set 告警指标阈值单位:ms(毫秒)、s(秒)、min(分钟)
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDuration(Long Duration)
Set 告警周期
|
void |
setDurationUnit(String DurationUnit)
Set 告警周期单位
|
void |
setEstimatedTime(Long EstimatedTime)
Set 预计的超时时间,分钟级别
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setId(String Id)
Set 指标id
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMaxTimes(Long MaxTimes)
Set 周期内最多告警次数
|
void |
setOperator(Long Operator)
Set 实时任务告警需要的参数
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTriggerType(Long TriggerType)
Set 指标阈值,1表示离线任务第一次运行失败,2表示离线任务所有重试完成后失败
注意:此字段可能返回 null,表示取不到有效值。
|
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 AlarmIndicatorInfo()
public AlarmIndicatorInfo(AlarmIndicatorInfo source)
public String getId()
public void setId(String Id)
Id
- 指标id
注意:此字段可能返回 null,表示取不到有效值。public Long getAlarmIndicator()
public void setAlarmIndicator(Long AlarmIndicator)
AlarmIndicator
- 告警指标,0表示任务失败,1表示任务运行超时,2表示任务停止,3表示任务暂停
注意:此字段可能返回 null,表示取不到有效值。public String getAlarmIndicatorDesc()
public void setAlarmIndicatorDesc(String AlarmIndicatorDesc)
AlarmIndicatorDesc
- 告警指标描述
注意:此字段可能返回 null,表示取不到有效值。public Long getTriggerType()
public void setTriggerType(Long TriggerType)
TriggerType
- 指标阈值,1表示离线任务第一次运行失败,2表示离线任务所有重试完成后失败
注意:此字段可能返回 null,表示取不到有效值。public Long getEstimatedTime()
public void setEstimatedTime(Long EstimatedTime)
EstimatedTime
- 预计的超时时间,分钟级别
注意:此字段可能返回 null,表示取不到有效值。public Long getOperator()
public void setOperator(Long Operator)
Operator
- 实时任务告警需要的参数
注意:此字段可能返回 null,表示取不到有效值。public String getAlarmIndicatorUnit()
public void setAlarmIndicatorUnit(String AlarmIndicatorUnit)
AlarmIndicatorUnit
- 告警指标阈值单位:ms(毫秒)、s(秒)、min(分钟)
注意:此字段可能返回 null,表示取不到有效值。public Long getDuration()
public void setDuration(Long Duration)
Duration
- 告警周期public String getDurationUnit()
public void setDurationUnit(String DurationUnit)
DurationUnit
- 告警周期单位public Long getMaxTimes()
public void setMaxTimes(Long MaxTimes)
MaxTimes
- 周期内最多告警次数Copyright © 2023. All rights reserved.