public class CreatePolicyGroupRequest extends AbstractModel
Constructor and Description |
---|
CreatePolicyGroupRequest() |
CreatePolicyGroupRequest(CreatePolicyGroupRequest 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 |
getBackEndCall()
Get 是否为后端调用。当且仅当值为1时,后台拉取策略模版中的规则填充入Conditions以及EventConditions字段
|
CreatePolicyGroupCondition[] |
getConditions()
Get 策略组中的阈值告警规则
|
Long |
getConditionTempGroupId()
Get 模版策略组Id, 通过模版创建时才需要传
|
CreatePolicyGroupEventCondition[] |
getEventConditions()
Get 策略组中的事件告警规则
|
String |
getGroupName()
Get 组策略名称
|
Long |
getInsertTime()
Get 插入时间,戳格式为Unix时间戳,不填则按后台处理时间填充
|
Long |
getIsShielded()
Get 是否屏蔽策略组,0表示不屏蔽,1表示屏蔽。不填默认为0
|
Long |
getIsUnionRule()
Get 指标告警规则的且或关系,0表示或规则(满足任意规则就告警),1表示且规则(满足所有规则才告警)
|
String |
getModule()
Get 固定值,为"monitor"
|
Long |
getProjectId()
Get 策略组所属项目Id,会进行鉴权操作
|
String |
getRemark()
Get 策略组的备注信息
|
String |
getViewName()
Get 策略组所属视图的名称,若通过模版创建,可不传入
|
void |
setBackEndCall(Long BackEndCall)
Set 是否为后端调用。当且仅当值为1时,后台拉取策略模版中的规则填充入Conditions以及EventConditions字段
|
void |
setConditions(CreatePolicyGroupCondition[] Conditions)
Set 策略组中的阈值告警规则
|
void |
setConditionTempGroupId(Long ConditionTempGroupId)
Set 模版策略组Id, 通过模版创建时才需要传
|
void |
setEventConditions(CreatePolicyGroupEventCondition[] EventConditions)
Set 策略组中的事件告警规则
|
void |
setGroupName(String GroupName)
Set 组策略名称
|
void |
setInsertTime(Long InsertTime)
Set 插入时间,戳格式为Unix时间戳,不填则按后台处理时间填充
|
void |
setIsShielded(Long IsShielded)
Set 是否屏蔽策略组,0表示不屏蔽,1表示屏蔽。不填默认为0
|
void |
setIsUnionRule(Long IsUnionRule)
Set 指标告警规则的且或关系,0表示或规则(满足任意规则就告警),1表示且规则(满足所有规则才告警)
|
void |
setModule(String Module)
Set 固定值,为"monitor"
|
void |
setProjectId(Long ProjectId)
Set 策略组所属项目Id,会进行鉴权操作
|
void |
setRemark(String Remark)
Set 策略组的备注信息
|
void |
setViewName(String ViewName)
Set 策略组所属视图的名称,若通过模版创建,可不传入
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreatePolicyGroupRequest()
public CreatePolicyGroupRequest(CreatePolicyGroupRequest source)
public String getGroupName()
public void setGroupName(String GroupName)
GroupName
- 组策略名称public String getModule()
public void setModule(String Module)
Module
- 固定值,为"monitor"public String getViewName()
public void setViewName(String ViewName)
ViewName
- 策略组所属视图的名称,若通过模版创建,可不传入public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- 策略组所属项目Id,会进行鉴权操作public Long getConditionTempGroupId()
public void setConditionTempGroupId(Long ConditionTempGroupId)
ConditionTempGroupId
- 模版策略组Id, 通过模版创建时才需要传public Long getIsShielded()
public void setIsShielded(Long IsShielded)
IsShielded
- 是否屏蔽策略组,0表示不屏蔽,1表示屏蔽。不填默认为0public String getRemark()
public void setRemark(String Remark)
Remark
- 策略组的备注信息public Long getInsertTime()
public void setInsertTime(Long InsertTime)
InsertTime
- 插入时间,戳格式为Unix时间戳,不填则按后台处理时间填充public CreatePolicyGroupCondition[] getConditions()
public void setConditions(CreatePolicyGroupCondition[] Conditions)
Conditions
- 策略组中的阈值告警规则public CreatePolicyGroupEventCondition[] getEventConditions()
public void setEventConditions(CreatePolicyGroupEventCondition[] EventConditions)
EventConditions
- 策略组中的事件告警规则public Long getBackEndCall()
public void setBackEndCall(Long BackEndCall)
BackEndCall
- 是否为后端调用。当且仅当值为1时,后台拉取策略模版中的规则填充入Conditions以及EventConditions字段public Long getIsUnionRule()
public void setIsUnionRule(Long IsUnionRule)
IsUnionRule
- 指标告警规则的且或关系,0表示或规则(满足任意规则就告警),1表示且规则(满足所有规则才告警)Copyright © 2022. All rights reserved.